{$CLEO .cs}
0000: NOP
while not SAMP.Available()
wait 2000
end
while true
wait 0
if
0AAB: file_exists "cleo\config.ini"
then
0AF0: 23@ = get_int_from_ini_file "cleo\config.ini" section "GODMOD" key "Key"
else
0AF1: write_int 81 to_ini_file "cleo\config.ini" section "GODMOD" key "Key"
end
if and
Player.Defined($PLAYER_CHAR)
Actor.Driving($PLAYER_ACTOR)
0AB0: key_pressed 23@
then
2@ = Actor.CurrentCar($PLAYER_ACTOR)
Car.SetImmunities(2@, 1, 1, 1, 1, 1)
053F: set_car 2@ tires_vulnerability 0
Car.ImmuneToNonPlayer(2@) = True
03F5: set_car 2@ apply_damage_rules 0
while 0AB0: key_pressed 23@
wait 0
end
Car.SetImmunities(2@, 0, 0, 0, 0, 0)
Car.ImmuneToNonPlayer(2@) = False
03F5: set_car 2@ apply_damage_rules 1
00BE: text_clear_all
end
end