[Ajuda] bloquear o comando de abrir portгo so para admins
#7

pawn Код:
if(strcmp(/pad, cmdtext, true) == 0);
        if(PlayerInfo[playerid][Admin]>0);
    {
       MoveObject(padmd, 1548.3618,-1714.3406,37.1879,3,0.0000,0.0000,0.0000);
    SetTimer(#Movepadmd, 5000, 0);
    SendClientMessage(playerid, 0x2641FEFF, #Portao aberto);
    return true;
    }
o PLAYERINFO[playerid][Admin]
vc tem que ajustar para a funзгo que define que o player й admin '-'
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)