SA-MP Forums Archive
Checkpoints. - 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: Checkpoints. (/showthread.php?tid=406788)



Checkpoints. - JoelR - 11.01.2013

How come this isn't showing the checkpoint? It displays the message but not the checkpoint.

pawn Код:
command(sweep, playerid, params[])
{
    new vid = GetPlayerVehicleID(playerid);
    if(vid == Sweepers[1] || vid == Sweepers[2] || vid == Sweepers[3])
    {
        SendClientMessage(playerid, SHOUT, "Help Clean The Streets Of Palomino Creek By Sweeping The Roads...");
        Sweeping[playerid] = 1;
        SetPlayerCheckpoint(playerid, 5.0, 2266.7080,39.1913,26.0607);
    }
    else return SendClientMessage(playerid, GREY, "You can't do the sweeping job without a sweeper.");
    return 1;
}



Respuesta: Checkpoints. - Fabio11 - 11.01.2013

The size goes at the end, not after playerid.

https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint


Re: Checkpoints. - JoelR - 11.01.2013

Thanks.