Jump to content
Geplaatst:
comment_1790494

Hallo,

Ik ben vanmiddag met dit script begonnen. Het is een CLEO script, ik heb bovenin CS aanduiding neergezet, en dit is mijn script:

thread 'SYSTEMCNRTL'
$SYSTEMSTATUS = 1 

:SYSTEMCNRTL_26
wait 0 
if 
  Actor.DrivingVehicleType($PLAYER_ACTOR, #BFINJECT)
  Actor.DrivingVehicleType($PLAYER_ACTOR, #BANDITO)
else_jump @SYSTEMCNRTL_26 
if and
0AB0:   key_pressed 116  
else_jump @SYSTEMCNRTL_26
if 
 $SYSTEMSTATUS == 0 
else_jump @SEQUENCECTRL_118 
$SYSTEMSTATUS = 1 
03E5: show_text_box 'KI3TON'   // KITT's systems : On
wait 1000 
jump @SYSTEMCNRTL_26 

:SEQUENCECTRL_118
$SYSTEMSTATUS = 0 
03E5: show_text_box 'KI3TOFF'   // KITT's systems: Off
wait 1000 
jump @SYSTEMCNRTL_26 

Tijdens het laden van het spel crasht GTA SA, rond de 90-95%

Wat heb ik fout gedaan?

Bob

Featured Replies

Geplaatst:
comment_1790577

thread 'SYSTEMCNRTL'
$SYSTEMSTATUS = 1 

:SYSTEMCNRTL_26
wait 0 
if or
  Actor.DrivingVehicleType($PLAYER_ACTOR, #BFINJECT)
  Actor.DrivingVehicleType($PLAYER_ACTOR, #BANDITO)
else_jump @SYSTEMCNRTL_26 
if
0AB0:   key_pressed 116  
else_jump @SYSTEMCNRTL_26
if 
 $SYSTEMSTATUS == 0 
else_jump @SEQUENCECTRL_118 
$SYSTEMSTATUS = 1 
03E5: show_text_box 'KI3TON'   // KITT's systems : On
wait 1000 
jump @SYSTEMCNRTL_26 

:SEQUENCECTRL_118
$SYSTEMSTATUS = 0 
03E5: show_text_box 'KI3TOFF'   // KITT's systems: Off
wait 1000 
jump @SYSTEMCNRTL_26 

Had je er wel "or" van gemaakt en had je bij de 2de if de "and" weggehaalt?

Geplaatst:
  • Auteur
comment_1790601

Ik heb dit er onder geplaatst:

thread 'IMUUN' 

:IMUUN_19
wait 0 
if and
  Player.Defined($PLAYER_CHAR)
  Actor.InCar($PLAYER_ACTOR #BFINJECT)
else_jump @IMUUN_19 
if and
 $SYSTEMSTATUS == 1 
else_jump @IMUUN_19

:IMUUN_77
81F3:   not car 0@ in_air 
else_jump @IMUUN_100 
wait 50 
jump @IMUUN_77

:IMUUN_100
Car.SetImmunities(0@, 1, 1, 1, 1, 1)
053F: set_car 0@ tires_vulnerability 0
jump @IMUUN_19 

Alleen de wagen waar ik dan in zit wordt niet imuun :?

Geplaatst:
comment_1790632

1 cleo script = 1 thread. Je kan niet meerdere threads in een cleo script gebruiken, je moet het dus laten aansluiten op je vorige thread (gewoon een jump @imuun of iets in die richting).

Een reactie plaatsen

Je kan nu een reactie plaatsen en pas achteraf registreren. Als je al lid bent, log eerst in om met je eigen account een reactie te plaatsen.

Gast
Op dit onderwerp reageren...

Recent actief 0

  • Er zijn hier geen geregistreerde gebruikers aanwezig.