SA-MP Forums Archive
Sweeper - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Sweeper (/showthread.php?tid=184200)



Sweeper - geerdinho8 - 18.10.2010

jmjkjkjkjkjkjk


Re: Sweeper - Steven82 - 18.10.2010

Use [pawn] so we can read it better.


Re: Sweeper - geerdinho8 - 18.10.2010

dUPDATED


Re: Sweeper - Mauzen - 18.10.2010

add a break at the end, or the 'for' will loop through all the other vehicles.

pawn Code:
if(vehicleid == sweeper[i])
        {
            sweepercp[playerid] = 2;
            DisablePlayerCheckpoint(playerid);
            SetPlayerCheckpoint(playerid, 2075.8213,1221.3730,10.3825,3.0);
            break;



Re: Sweeper - geerdinho8 - 18.10.2010

THANKS!!