[Ajuda] Trazertodos
#2

pawn Код:
CMD:Trazertodos(playerid,params[])
{
    if(/* variavel de lider */) return SendClientMessage(playerid, VERMELHO, "Erro: Vocк nгo pode usar esse comando.");
    new string[256];
    format(string, sizeof(string), "O lider %s trouxe todos os jogadores atй ele.");
    GetPlayerPos(playerid, X, Y, Z);
    for(new i = 0; i < MAX_PLAYERS; ++i)
    {
       if(IsPlayerConnected(i))
       {
            if(/*variavel dos players da org*/)
            {
                SetPlayerPos(i, X+1, Y+1, Z);
            }
       }
    }
    return 1;
}
Reply


Messages In This Thread
Trazertodos - by Liipiinhow - 11.10.2013, 15:07
Re: Trazertodos - by PT - 11.10.2013, 15:16
Re: Trazertodos - by Liipiinhow - 11.10.2013, 15:50
Re: Trazertodos - by PT - 11.10.2013, 15:51
Re: Trazertodos - by Liipiinhow - 11.10.2013, 15:57
Re: Trazertodos - by .ThePro - 11.10.2013, 18:23
Re: Trazertodos - by PT - 11.10.2013, 18:28
Re: Trazertodos - by .ThePro - 11.10.2013, 18:35
Re: Trazertodos - by PT - 11.10.2013, 18:43
Re: Trazertodos - by .ThePro - 11.10.2013, 18:45

Forum Jump:


Users browsing this thread: 1 Guest(s)