[Ajuda] OnRconCommand(cmd[])
#8

Se vocк quer que apenas admin rcon use o comando, faзa assim
pawn Код:
if(!strcmp(cmd,"setarvip",true))
{
    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "Vocк nгo tem permissгo.");

    ShowPlayerDialog(playerid, DIALOG_DARVIP, DIALOG_STYLE_INPUT,"SetarVip","Digite o [ID] ou o [NICK] do jogador. \nE os [DIAS] que serб vip.","Setar","Cancelar");
    return 1;
}
Reply


Messages In This Thread
OnRconCommand(cmd[]) - by Marlon307 - 02.08.2014, 14:23
Re: OnRconCommand(cmd[]) - by darkxdll - 02.08.2014, 14:25
Re: OnRconCommand(cmd[]) - by Marlon307 - 02.08.2014, 14:26
Re: OnRconCommand(cmd[]) - by darkxdll - 02.08.2014, 14:30
Re: OnRconCommand(cmd[]) - by Marlon307 - 02.08.2014, 14:32
Re: OnRconCommand(cmd[]) - by darkxdll - 02.08.2014, 14:36
Re: OnRconCommand(cmd[]) - by Marlon307 - 02.08.2014, 14:46
Re: OnRconCommand(cmd[]) - by ViniBorn - 02.08.2014, 17:56
Re: OnRconCommand(cmd[]) - by zSuYaNw - 02.08.2014, 18:12
Re: OnRconCommand(cmd[]) - by ViniBorn - 02.08.2014, 18:16

Forum Jump:


Users browsing this thread: 1 Guest(s)