Jump to content

I don't know the error on this script


sigfriwai

Recommended Posts

When I load the game with this script the game work, but when i go out of the CJ house it crashes. What is the problem???

 

// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007{$VERSION 3.1.0027}{$CLEO .cs}//-------------MAIN---------------thread 'SCRIPT' :SCRIPT_11wait 0 if   Player.Defined($PLAYER_CHAR)else_jump @SCRIPT_11 if  $ONMISSION == 0 else_jump @SCRIPT_11 if 00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 2380.203 -1647.39 13.5384 radius 250.0 250.0 250.0 else_jump @SCRIPT_11 Model.Load(#FAM1)Model.Load(#FAM2)Model.Load(#FAM3)Model.Load(#BALLAS1)Model.Load(#BALLAS2)Model.Load(#BALLAS3)Model.Load(#SILENCED)038B: load_requested_models wait 0 if   Model.Available(#FAM1)  Model.Available(#FAM2)  Model.Available(#FAM3)  Model.Available(#BALLAS1)  Model.Available(#BALLAS2)  Model.Available(#BALLAS3)  Model.Available(#SILENCED)else_jump @SCRIPT_11 060A: create_decision_maker_type 8 store_to 2@ // decision\allowed\m_.ped files 0@ = Actor.Create(Gang2, #FAM1, 2380.203, -1647.39, 13.5384)Actor.Angle(0@) = 84.1712Actor.Health(0@) = 99999Actor.Armour(0@) = 20000446: set_actor 0@ immune_to_headshots 0 04D8: set_actor 0@ drowns_in_water 0 0946: set_actor 0@ actions_uninterupted_by_weapon_fire 0 060B: set_actor 0@ decision_maker_to 2@ 03FE: set_actor 0@ money 4000 01B2: give_actor 0@ weapon 23 ammo 9999 // Load the weapon model before using this 060A: create_decision_maker_type 8 store_to 4@ // decision\allowed\m_.ped files 1@ = Actor.Create(Gang2, #FAM2, 2379.11, -1645.141, 13.5271)Actor.Angle(1@) = 83.5445Actor.Health(1@) = 99999Actor.Armour(1@) = 20000446: set_actor 1@ immune_to_headshots 0 04D8: set_actor 1@ drowns_in_water 0 0946: set_actor 1@ actions_uninterupted_by_weapon_fire 0 060B: set_actor 1@ decision_maker_to 4@ 03FE: set_actor 1@ money 4000 01B2: give_actor 1@ weapon 23 ammo 9999 // Load the weapon model before using this 060A: create_decision_maker_type 8 store_to 6@ // decision\allowed\m_.ped files 3@ = Actor.Create(Gang2, #FAM3, 2379.965, -1641.484, 13.5061)Actor.Angle(3@) = 102.9714Actor.Health(3@) = 99999Actor.Armour(3@) = 20000446: set_actor 3@ immune_to_headshots 0 04D8: set_actor 3@ drowns_in_water 0 0946: set_actor 3@ actions_uninterupted_by_weapon_fire 0 060B: set_actor 3@ decision_maker_to 6@ 03FE: set_actor 3@ money 4000 01B2: give_actor 3@ weapon 23 ammo 9999 // Load the weapon model before using this 060A: create_decision_maker_type 7 store_to 7@ // decision\allowed\m_.ped files 5@ = Actor.Create(Gang1, #BALLAS1, 2371.294, -1640.955, 13.4957)Actor.Angle(5@) = 256.1928Actor.Health(5@) = 99999Actor.Armour(5@) = 20000446: set_actor 5@ immune_to_headshots 0 04D8: set_actor 5@ drowns_in_water 0 0946: set_actor 5@ actions_uninterupted_by_weapon_fire 0 060B: set_actor 5@ decision_maker_to 7@ 03FE: set_actor 5@ money 4000 01B2: give_actor 5@ weapon 23 ammo 9999 // Load the weapon model before using this 060A: create_decision_maker_type 7 store_to 8@ // decision\allowed\m_.ped files 9@ = Actor.Create(Gang1, #BALLAS2, 2372.575, -1643.755, 13.5152)Actor.Angle(9@) = 263.7128Actor.Health(9@) = 99999Actor.Armour(9@) = 20000446: set_actor 9@ immune_to_headshots 0 04D8: set_actor 9@ drowns_in_water 0 0946: set_actor 9@ actions_uninterupted_by_weapon_fire 0 060B: set_actor 9@ decision_maker_to 8@ 03FE: set_actor 9@ money 4000 01B2: give_actor 9@ weapon 23 ammo 9999 // Load the weapon model before using this 060A: create_decision_maker_type 7 store_to 10@ // decision\allowed\m_.ped files 11@ = Actor.Create(Gang1, #BALLAS3, 2371.719, -1647.606, 13.5357)Actor.Angle(11@) = 295.9865Actor.Health(11@) = 99999Actor.Armour(11@) = 20000446: set_actor 11@ immune_to_headshots 0 04D8: set_actor 11@ drowns_in_water 0 0946: set_actor 11@ actions_uninterupted_by_weapon_fire 0 060B: set_actor 11@ decision_maker_to 10@ 03FE: set_actor 11@ money 4000 01B2: give_actor 11@ weapon 23 ammo 9999 // Load the weapon model before using this Model.Destroy(#SILENCED)Model.Destroy(#FAM1)Model.Destroy(#FAM2)Model.Destroy(#FAM3)Model.Destroy(#BALLAS1)Model.Destroy(#BALLAS2)Model.Destroy(#BALLAS3)wait 0 0A93: end_custom_thread 

 

Link to comment
Share on other sites

spaceeinstein

if

to check one condition

 

if and

to check multiple conditions

 

if or

to check one of the multiple conditions

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 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.