Info: Drive w/o fuel. Useful to bypass RP servers fuel systems.
Trigger on/off: FUEL as cheatcode (default is active)
Trigger on/off: FUEL as cheatcode (default is active)
PHP:
{$CLEO}
{$USE ini}
0000: NOP
wait 8500
if 0AAB: does_file_exist "CLEO\NoFuel.ini"
then 0AF0: 31@ = read_int_from_ini_file "CLEO\NoFuel.ini" section "NoFuel" key "status"
else
0AF1: write_int 1 to_ini_file "CLEO\NoFuel.ini" section "NoFuel" key "status"
0AF0: 31@ = read_int_from_ini_file "CLEO\NoFuel.ini" section "NoFuel" key "status"
end
while true
wait 0
if 0ADC: test_cheat "FUEL"
then
if 31@ == 0
then
31@ = 1
0AF1: write_int 1 to_ini_file "CLEO\NoFuel.ini" section "NoFuel" key "status"
0ACD: show_text_highpriority "nofuel on" time 1000
else
31@ = 0
0AF1: write_int 0 to_ini_file "CLEO\NoFuel.ini" section "NoFuel" key "status"
0ACD: show_text_highpriority "nofuel off" time 1000
end
end
if 31@ == 1
then
if Actor.Driving($PLAYER_ACTOR)
then
0@ = Actor.CurrentCar($PLAYER_ACTOR)
046C: 1@ = car 0@ driver
if 003A: 1@ == $PLAYER_ACTOR // (int)
then
0918: set_car 0@ engine_operation 1
end
end
end
end
Attachments
Last edited: