[Ajuda] Comandos Dependentes
#5

Quote:
Originally Posted by Schocc
Посмотреть сообщение
Se for usar somente para admin logado na rcon, deve usar o operador lуgico de negaзгo, 'NOT' ou mais conhecido como '!' "diferente"...

Logo se vocк usar o cуdigo abaixo todos podem usar, pois vai retornar verdadeiro:
PHP код:
if ( IsPlayerAdmin(playerid) )
    return 
SCM(...); 
O correto seria:
PHP код:
if( !IsPlayerAdmin(playerid) )
    return 
SCM(...); 
Vlw, Mais Funcionava Do Mesmo Jeito Desse:
pawn Код:
if(IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "[INFO-SERVER]: Vocк Nгo Tem Permissгo Para Utilizar Este Comando");
Mais a Duvida Nгo Era Essa, Mais Alguйm?
Reply


Messages In This Thread
Comandos Dependentes - by Matthy - 20.06.2014, 19:06
Re: Comandos Dependentes - by ProKillerpa - 20.06.2014, 19:12
Respuesta: Comandos Dependentes - by Matthy - 20.06.2014, 19:17
Re: Comandos Dependentes - by Schocc - 20.06.2014, 19:28
Respuesta: Re: Comandos Dependentes - by Matthy - 20.06.2014, 19:33
Re: Comandos Dependentes - by MultiKill - 20.06.2014, 19:43
Respuesta: Re: Comandos Dependentes - by Matthy - 20.06.2014, 20:05
Re: Comandos Dependentes - by Schocc - 20.06.2014, 20:11

Forum Jump:


Users browsing this thread: 1 Guest(s)