08.12.2010, 21:25
I don't get what you mean. It gives you the message "Car successfully refilled". When you log off and back on, it still gives that message?
First of all, remove all this stuff:
and replace it with:
(remove RefilLTimer). Also remove New RefillTimer; above your script.
Do the same for FuelTimer. Remove 'FuelTimer ='. Also remove it at the top of your script.
Then, modify KillTimer(FuelTimer)(or something) into this:
You do not have to 'say' what ReFill is. It's a waste of your memory.
So, use this code:
http://pastebin.com/FkbZcZCB
First of all, remove all this stuff:
pawn Код:
RefillTimer = SetTimerEx("ReFill",2000,1,"i",playerid);
pawn Код:
SetTimerEx("ReFill",2000,1,"i",playerid);
Do the same for FuelTimer. Remove 'FuelTimer ='. Also remove it at the top of your script.
Then, modify KillTimer(FuelTimer)(or something) into this:
pawn Код:
KillTimer(ReFill(playerid));
So, use this code:
http://pastebin.com/FkbZcZCB