Hello, I'm having trouble with this thing, my code stops the engine, accepts the repair and the refill but doesn't turn the engine back.
Code:
:cmd_arr
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
0B36: samp 1@ = get_player_nickname 21@
0AF9: samp say_msg "/engine"
0AF9: samp say_msg "/accept repair %s" 1@
0AF9: samp say_msg "/accept refill %s" 1@
0AF9: samp say_msg "/engine"
else
chatmsg "{ffff00}Taxi CMD: /arr ID"
end
SAMP.CmdRet()