SA-MP Forums Archive
[Pedido] /reforзo - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Pedido] /reforзo (/showthread.php?tid=508410)



/reforзo - pedrotvr - 22.04.2014

Alguйm me ajuda num cmd q qnd o cara desse /refm
setava um checkpoint para todos da ORG 1,2,3,16, alguйm pode quebrar essa?


Re: /reforзo - Fel486 - 22.04.2014

Exemplo:

pawn Код:
CMD:refm(playerid, params[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(org[i] == 1 || org[i] == 2 || org[i] == 3 || org[i] == 16)
            {
                SetPlayerCheckPoint(i, x, y, z, 50.0);
            }
        }
    }
    return 1;
}