Created
May 17, 2024 14:59
-
-
Save JuniorSchueller/0729872cbd7f63ea94c903c8dc727a6e to your computer and use it in GitHub Desktop.
TireBurst Mod Source
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SCRIPT_START | |
{ | |
NOP | |
LVAR_INT scplayer vehicle delay | |
GET_PLAYER_CHAR 0 scplayer | |
READ_INT_FROM_INI_FILE "CLEO/Tire Burst.ini" "Delay" "BurstDelay" | |
delay | |
WHILE TRUE | |
WAIT 0 | |
IF IS_CHAR_IN_ANY_CAR scplayer | |
AND NOT IS_CHAR_ON_ANY_BIKE scplayer | |
GET_CAR_CHAR_IS_USING scplayer vehicle | |
IF IS_KEY_PRESSED VK_KEY_W | |
AND IS_KEY_PRESSED VK_KEY_S | |
AND IS_CAR_ENGINE_ON vehicle | |
WAIT delay | |
IF IS_CAR_MODEL vehicle ADMIRAL | |
OR IS_CAR_MODEL vehicle BRAVURA | |
OR IS_CAR_MODEL vehicle HERMES | |
OR IS_CAR_MODEL vehicle MANANA | |
OR IS_CAR_MODEL vehicle NEBULA | |
OR IS_CAR_MODEL vehicle PEREN | |
OR IS_CAR_MODEL vehicle PREVION | |
OR IS_CAR_MODEL vehicle REGINA | |
RETURN | |
ENDIF | |
IF IS_CAR_MODEL vehicle SUNRISE | |
OR IS_CAR_MODEL vehicle VINCENT | |
OR IS_CAR_MODEL vehicle RUMPO | |
OR IS_CAR_MODEL vehicle BLISTAC | |
OR IS_CAR_MODEL vehicle CLUB | |
OR IS_CAR_MODEL vehicle FLASH | |
OR IS_CAR_MODEL vehicle JESTER | |
RETURN | |
ENDIF | |
IF IS_KEY_PRESSED VK_KEY_W | |
AND IS_KEY_PRESSED VK_KEY_S | |
IF IS_CHAR_IN_CAR scplayer vehicle | |
AND IS_CAR_ENGINE_ON vehicle | |
BURST_CAR_TYRE vehicle 1 | |
BURST_CAR_TYRE vehicle 3 | |
ENDIF | |
ENDIF | |
ENDIF | |
ENDIF | |
ENDWHILE | |
} | |
SCRIPT_END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment