Skip to content
View in the app

A better way to browse. Learn more.

GTAGames.nl - De Nederlandse Grand Theft Auto Community!

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SA|CLEO] Script werkt niet

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

Bij de eerste 'if' moet 'if and' (als aan beide termen voldaan wordt) of 'if or' (als aan 1 van de termen voldaan wordt) staan.

  • Author

Ik heb dat nu veranderd, alleen wanneer ik nu F5 indruk(toets nummer 116) dan gebeurt er niks.

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?

CLEO script --> geen globale variabelen gebruiken...

  • Author

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 :?

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).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.