25.10.2014, 22:53
There a way to add a vehicle fail timer 30 count down
when it gets to 0 failed mission
when it gets to 0 failed mission
pawn Код:
forward TruckCheck(playerid);
public TruckCheck(playerid)
{
if (IsPlayerInAnyVehicle(playerid) == 0)
{
GameTextForPlayer(playerid, "Get back in your truck!~n~(%s)", 1000, 4);
}
else if (IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid)) == 0)
{
GameTextForPlayer(playerid, "Reconnect your trailer!~n~(%s)", 1000, 4);
}
return 1;
}