[Ajuda] Ajuda Comando Secreto
#6

O Comando nгo pego :/

Comando de setar normal
pawn Код:
CMD:setadmin(playerid, params[])
{
 new id, level, string[256], string2[256], ganhou[MAX_PLAYER_NAME], deu[MAX_PLAYER_NAME];
 if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFF0000FF, "Vocк й um Administrador Logado Na RCON.");
 if(sscanf(params, "ud", id, level)) return SendClientMessage(playerid, 0x004000FF, "Use /setadmin [id] [LEVEL]");
 if (level < 0 || level > 5) return SendClientMessage(playerid, 0xFF0000FF, "Level invбlido. Use de 1 б 5 .");
 if(!IsPlayerConnected(id)) return SendClientMessage(playerid, 0xFF0000FF, "Este jogador nгo estб online.");
 GetPlayerName(id, ganhou, sizeof(ganhou));
 GetPlayerName(playerid, deu, sizeof(deu));
 format(string, sizeof(string), "Vocк deu admin level %s para o %s", GetLevelAdmin(level), ganhou);
 SendClientMessage(playerid, 0x004000FF, string);
 format(string2, sizeof(string2), "O admin %s deu admin level %s para vocк.", deu , GetLevelAdmin(level));
 SendClientMessage(id, 0x004000FF, string2);
 pAdmin[id][Level] =  level;
 return 1;
}
Quero criar um secreto tipo.. /myadmin, alguйm ajuda aкo ?
Reply


Messages In This Thread
Ajuda Comando Secreto - by LE4NDrO - 04.07.2014, 15:23
Re: Ajuda Comando Secreto - by darkxdll - 04.07.2014, 15:29
Re: Ajuda Comando Secreto - by UPsamp - 04.07.2014, 15:34
Re: Ajuda Comando Secreto - by LE4NDrO - 04.07.2014, 15:41
Re: Ajuda Comando Secreto - by LE4NDrO - 04.07.2014, 15:43
Re: Ajuda Comando Secreto - by LE4NDrO - 04.07.2014, 15:49
Re: Ajuda Comando Secreto - by PT - 04.07.2014, 16:07
Re: Ajuda Comando Secreto - by LE4NDrO - 04.07.2014, 16:57
Re: Ajuda Comando Secreto - by FabioGTP - 04.07.2014, 17:45
Re: Ajuda Comando Secreto - by MultiKill - 04.07.2014, 17:53

Forum Jump:


Users browsing this thread: 1 Guest(s)