[Ajuda] Trazertodos
#8

Quote:
Originally Posted by PT
Посмотреть сообщение
assim

pawn Код:
CMD:Trazertodos(playerid,params[])
{
    if(PlayerInfo[playerid][pPM] < 1) 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(PlayerInfo[playerid][pPM] != 0)
            {
                SetPlayerPos(i, X+1, Y+1, Z);
            }
       }
    }
    return 1;
}
@ .ThePro

olha isto



vc ta usando ( e ) a mais
Sim desnecessбrio, jб arrumei, obrigado!
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)