[Ajuda] Comando bugado.
#2

pawn Код:
if(strcmp(cmd,"/E_trazer",true) == 0)
{
    if(PlayerInfo[playerid][pAdmin] < 4)
        return SendClientMessage(playerid,COLOR_ERRO, "ERRO: {FFFFFF}Acesso restrito apenas a Admins 4+.");
   
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i) && Pevento[i] == 1)
        {
            if(GetPlayerState(i) == 2)
            {  
                new Float:ploc[3];
                GetPlayerPos(playerid, ploc[0], ploc[1], ploc[2]);
                SetPlayerPos(i, ploc[0], ploc[1], ploc[2]);
                SendClientMessage(i,COLOR_GRAD1,"<!> Vocк foi teleportado para o evento.");
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
Comando bugado. - by SukMathcuck - 14.07.2014, 17:20
Re: Comando bugado. - by PT - 14.07.2014, 21:42
Re: Comando bugado. - by BrasilPlayGames - 14.07.2014, 21:58

Forum Jump:


Users browsing this thread: