29.03.2015, 14:28
Make a variable:
Alter the if statement from:
to
Make it so that when "You have 5 seconds" prints, it is set to 1.
Set pWarned to 0 before the return in the OUTTRUCK function.
pawn Код:
new pWarned[MAX_PLAYERS];
Alter the if statement from:
pawn Код:
if(IsATLCar(vehicleid))
pawn Код:
if(IsATLCar(vehicleid) && pWarned[playerid] == 0)
pawn Код:
pWarned[playerid] = 1;

