Makeadmin need help
#1

Код:
CMD:makeadmin(playerid, params[])
{
	if(PlayerInfo[playerid][pAdmin] >= 7) 
	{
		new id, string[128], level; 
		if(sscanf(params, "dd", id, level)) return SendClientMessage(playerid, COLOR_RED, "SERVER: /makeadmin [ID] [LEVEL]"); 
		format(string, sizeof(string), "You promoted to %d admin level.", level); 
		SendClientMessage(id, COLOR_BLUE, string); 
		PlayerInfo[id][pAdmin] = level; 
	}
	else return SendClientMessage(playerid, COLOR_BLUE, "You don't have acces to that command."); 
	return 1;
}
I know how to make this but i want if i set someone admin level to show him some dialog..
Reply


Messages In This Thread
[SOLVED]Makeadmin need help - by Deny1 - 23.07.2015, 12:05
Re: Makeadmin need help - by Gazzy - 23.07.2015, 12:20
AW: Makeadmin need help - by Mencent - 23.07.2015, 12:22
Re: Makeadmin need help - by Deny1 - 23.07.2015, 12:22
Re: AW: Makeadmin need help - by Deny1 - 23.07.2015, 12:24
AW: Makeadmin need help - by Mencent - 23.07.2015, 12:25
Re: Makeadmin need help - by Gazzy - 23.07.2015, 12:26
Re: Makeadmin need help - by Deny1 - 23.07.2015, 12:27
Re: Makeadmin need help - by Deny1 - 23.07.2015, 12:29
AW: Makeadmin need help - by Mencent - 23.07.2015, 12:33

Forum Jump:


Users browsing this thread: 5 Guest(s)