SA-MP Forums Archive
[Help] There a way to add a vehicle fail timer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help] There a way to add a vehicle fail timer (/showthread.php?tid=543318)



[Help] There a way to add a vehicle fail timer - DerickClark - 25.10.2014

There a way to add a vehicle fail timer 30 count down
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;
}



Re: [Help] There a way to add a vehicle fail timer - DerickClark - 26.10.2014

Anyone?