04.08.2015, 20:24
PHP код:
if(newstate== PLAYER_STATE_DRIVER)
{
if(pData[playerid][pMission] == MISSION_TYPE_TRUCK_2)
{
new vehicleid;
vehicleid = GetPlayerVehicleID(playerid);
if(!IsTrailerAttachedToVehicle(vehicleid))
{
SendClientMessage(playerid, RED, "You have 50 seconds to re-attach the trailer.");
}
}
}
Also, I want it counts 30 seconds on player screen.