Is this possible?
#5

pawn Код:
new Timer[MAX_PLAYERS];

forward CheckAttached(playerid);
public CheckAttached(playerid);
{
    new veh = GetPlayerVehicleID(playerid);
    if(!IsTrailerAttachedToVehicle(veh)) return DisablePlayerCheckpoint(playerid);
    KillTimer(Timer[playerid]);
}

Timer[playerid] = SetTimerEx("CheckAttached", 1000, 1, "i", vehicleid); // When you attach trailer or create the checkpoint
Reply


Messages In This Thread
Is this possible? - by cloudysky - 02.03.2011, 15:31
Re: Is this possible? - by tuuker - 02.03.2011, 15:42
Re: Is this possible? - by cloudysky - 02.03.2011, 15:44
Re: Is this possible? - by PowerPC603 - 03.03.2011, 00:30
Re: Is this possible? - by Antonio [G-RP] - 03.03.2011, 00:46
Re: Is this possible? - by cloudysky - 03.03.2011, 16:34

Forum Jump:


Users browsing this thread: 2 Guest(s)