Checkpoints.
#1

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;
}
Reply
#2

The size goes at the end, not after playerid.

https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint
Reply
#3

Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)