Again a little problem
#5

Код:
if(strcmp(cmdtext, "/aduty on", true) == 0)
{
	if (AccountInfo[playerid][AdminLevel] > 1 || IsPlayerAdmin(playerid))
	{
		GetPlayerName(playerid,sendername,24);
		format(string, sizeof(string), "-| Administrator %s is now on admin duty. |-", sendername);
		SendClientMessageToAll(ORANGE, string);
		SetPlayerHealth(playerid,999999999); // max HP
		SetPlayerSkin(playerid, 272);
		SetPlayerColor(playerid, 0xF97804FF);
		Drugs[playerid] = 1;
		SendClientMessage(playerid, GREEN, "Admin duty ENABLED");
	}
	else SendClientMessage(playerid, RED, "Not for you, Sir");
	return 1;
}
Reply


Messages In This Thread
Again a little problem - by Striker_Moe - 31.08.2009, 19:14
Re: Again a little problem - by Striker_Moe - 31.08.2009, 19:27
Re: Again a little problem - by Jefff - 31.08.2009, 19:29
Re: Again a little problem - by Striker_Moe - 31.08.2009, 19:32
Re: Again a little problem - by Jefff - 31.08.2009, 19:36
Re: Again a little problem - by Striker_Moe - 31.08.2009, 19:37
Re: Again a little problem - by Striker_Moe - 31.08.2009, 19:40
Re: Again a little problem - by Correlli - 31.08.2009, 19:50

Forum Jump:


Users browsing this thread: 1 Guest(s)