Quantcast

Jump to content

» «
Photo

Why they will crash?

No replies to this topic
Shooter Hex
  • Shooter Hex

    Newbie..

  • Members
  • Joined: 24 Jun 2013
  • Macau

#1

Posted 20 June 2014 - 12:42 PM

I don't know where is wrong...but game will crash if I am using they.

First one:

 

// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagamin...opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
thread 'F14_KQRS'

:F14_KQRS_1
wait 0
if and
   Player.Defined($PLAYER_CHAR)
   Actor.DrivingVehicleType($PLAYER_ACTOR, #HYDRA)
jf @F14_KQRS_1
0@ = Actor.CurrentCar($PLAYER_ACTOR)
02E3: 1@ = car 0@ speed
if and
   not Car.Wrecked(0@)
  1@ > 55.2
jf @F14_KQRS_1
066B: 2@ = attach_particle "FIREINSIDEAB" to_car 0@ with_offset -0.78 -8.43 1.15 type 1
066B: 3@ = attach_particle "FIREINSIDEAB" to_car 0@ with_offset 0.78 -8.43 1.15 type 1
064C: make_particle 2@ visible
064C: make_particle 3@ visible
jump @F14_KQRS_2

:F14_KQRS_2
02E3: 1@ = car 0@ speed
if or
   not Actor.DrivingVehicleType($PLAYER_ACTOR, #HYDRA)
   Car.Wrecked(0@)
   not 1@ > 55.2
jf @F14_KQRS_2
0650: destroy_particle 2@
0650: destroy_particle 3@
jump @F14_KQRS_1

 

Second one:

 

// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagamin...opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
thread 'XL_RADAR'
0@ = Actor.CurrentCar($PLAYER_ACTOR)
29@ = 0.0
30@ = -90.0

:XL_RADAR_11
wait 0
if and
00DD:   actor $PLAYER_ACTOR driving_car_with_model #SHAMAL
0AB0:   key_pressed 77
jf @XL_RADAR_11
0390: load_txd_dictionary "XL_RADAR"
038F: load_texture "SHOT" as 16 // Load dictionary with 0390 first
038D: draw_texture 16 position 320.0 224.0 size 525.0 525.0 RGBA 255 255 255 255
0679: put_camera_on_car 0@ with_offset 0.02 -1.836 -0.58 rotation 0.0 29@ 30@ tilt 0.0 switchstyle 2
wait 200

:XL_RADAR_12
if
0AB0:   key_pressed 36
jf @XL_RADAR_13
30@ -= 0.01
0679: put_camera_on_car 0@ with_offset 0.02 -1.836 -0.58 rotation 0.0 29@ 30@ tilt 0.0 switchstyle 2
jump @XL_RADAR_12

:XL_RADAR_13
if
0AB0:   key_pressed 35
jf @XL_RADAR_14
30@ += 0.01
0679: put_camera_on_car 0@ with_offset 0.02 -1.836 -0.58 rotation 0.0 29@ 30@ tilt 0.0 switchstyle 2
jump @XL_RADAR_12

:XL_RADAR_14
if
0AB0:   key_pressed 46
jf @XL_RADAR_15
29@ -= 0.01
0679: put_camera_on_car 0@ with_offset 0.02 -1.836 -0.58 rotation 0.0 29@ 30@ tilt 0.0 switchstyle 2
jump @XL_RADAR_12

:XL_RADAR_15
if
0AB0:   key_pressed 34
jf @XL_RADAR_16
29@ += 0.01
0679: put_camera_on_car 0@ with_offset 0.02 -1.836 -0.58 rotation 0.0 29@ 30@ tilt 0.0 switchstyle 2
jump @XL_RADAR_12

:XL_RADAR_16
if
   Actor.Driving($PLAYER_ACTOR)
jf @XL_RADAR_17
wait 0
if
0AB0:   key_pressed 77
jf @XL_RADAR_12
03F0: enable_text_draw 0
0391: release_textures
Camera.Restore_WithJumpCut
wait 200
jump @XL_RADAR_11

:XL_RADAR_17
03F0: enable_text_draw 0
0391: release_textures
Camera.Restore_WithJumpCut
jump @XL_RADAR_11





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users