SA-MP Forums Archive
Newbie Chat. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Newbie Chat. (/showthread.php?tid=412259)



Newbie Chat. - iManakoss - 01.02.2013

This is what I request.I want a newbie chat like /n or /atalk ot /ask, but I want the message that player sent,to be shown to admins. Please help me.

I want to add it on lAdmin.


Re: Newbie Chat. - Ruthless - 01.02.2013

Код:
stock SendMessageToAdmins(color,const string[])
{
	for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i) == 1) if(PlayerAcc[i][AdminLevel] >= 1) SendClientMessage(i, color, string);
	return 1;
}