31.07.2015, 22:54
anyone? i'm trying and trying to get 30 sec count down then failed mission.
i think this the code.
i think this the code.
pawn Код:
forward TruckCheck(playerid);
public TruckCheck(playerid)
{
if (IsPlayerInAnyVehicle(playerid) == 0)
{
GameTextForPlayer(playerid, "Get back in your TRUCK!", 1000, 5);
return 1;
}
else if (IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid)) == 0)
{
GameTextForPlayer(playerid, "Reconnect your trailer!", 1000, 5);
return 1;
}
return 0;
}