Jump to content

Why does my script crash?


TheRemix

Recommended Posts

It crashes when I go to the wheelchair.

 

 

// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

 

{$CLEO .cs}

 

//-------------MAIN---------------

0000: NOP

 

:NONAME_2

wait 500

if

00EC: actor $PLAYER_ACTOR 0 near_point 2101.967 -104.6118 radius 150.0 150.0

else_jump @NONAME_2

Model.Load(#KATANA)

wait 10

 

:NONAME_56

if or

$4 > 23

not $4 > -3

else_jump @NONAME_56

023C: load_special_actor "JASON" as 1

 

:NONAME_92

wait 0

if

023D: special_actor 1 loaded //Model check

Model.Available(#KATANA)

else_jump @NONAME_92

0@ = Actor.Create(Gang1, #SPECIAL01, 2101.967, -104.6118, 2.2705)

Actor.Health(0@) = 25000

Actor.Armour(0@) = 25000

0446: set_actor 0@ immune_to_headshots 0

060B: set_actor 0@ decision_maker_to 500

07DD: set_actor 0@ temper_to 1500

02E0: actor 0@ aggressive

01B2: give_actor 0@ weapon 8 ammo 9999 // Load the weapon model before using this

wait 800

07A1: set_walk_speed 4

05D3: AS_actor 0@ goto_point 7@ 8@ 9@ mode 6 -1 ms // versionA

05E2: AS_actor 0@ kill_actor $PLAYER_ACTOR

07A5: AS_actor 0@ attack_actor $PLAYER_ACTOR -1 ms

jump @NONAME_242

 

:NONAME_242

wait 500

if

Actor.Dead(0@)

else_jump @NONAME_242

jump @NONAME_270

 

:NONAME_270

wait 500

Actor.DestroyWithFade(0@)

01B7: release_weather

0296: unload_special_actor 1 //Unload actor

wait 8000

jump @NONAME_2

Link to comment
Share on other sites

spaceeinstein

Where is $4 defined? Can "Jason" be normally spawned without crashing? If there are more than 1 conditions within and IF statement, an IF AND must be used, i.e.

 

if and023D: special_actor 1 loadedModel.Available(#KATANA)else_jump @NONAME_92 

 

7@ 8@ 9@ contain no defined values. Your character would be walking towards the center of the map.

Link to comment
Share on other sites

Where is $4 defined? Can "Jason" be normally spawned without crashing? If there are more than 1 conditions within and IF statement, an IF AND must be used, i.e.

 

if and023D: special_actor 1 loadedModel.Available(#KATANA)else_jump @NONAME_92 

 

7@ 8@ 9@ contain no defined values. Your character would be walking towards the center of the map.

STUPIP I DOESN'T CRASH BUT KNOW ITS BIGFOOT!!!

Link to comment
Share on other sites

Big foot? wtf

there's no bigfoor in San Andreas (there is a bear called "BB" and "BBTHIN", you mean on of these two whatsthat.gif)

Link to comment
Share on other sites

spaceeinstein

Stop flooding the forums with duplicate topics. A forum is not instant messaging. You have to wait for replies. Creating a duplicate topic does not guarantee an answer, so creating multiple duplicate topics doesn't help at all.

Edited by spaceeinstein
Link to comment
Share on other sites

Big foot? wtf

there's no bigfoor in San Andreas (there is a bear called "BB" and "BBTHIN", you mean on of these two whatsthat.gif)

I have a bigfoot mod. biggrin.gif

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.