How do I make this command to zcmd?
#1

PHP код:
if(cmdtext[1] == '/')
{
if(
PlayerInfo[playerid][AdminLevel] < 1) return 0;
new 
string[128], ac[128];
strmid(ac,cmdtext,2,strlen(cmdtext));
format(string,128," [Admin - Chat] %s(%d): %s",GetName(playerid),playerid,ac);
for(new 
i=0;i<MAX_PLAYERS;i++) if(IsPlayerConnected(i) && (== playerid || PlayerInfo[i][AdminLevel] != 0)) SendClientMessage(i,COLOR_YELLOW,string);
return 
1;

how??
Reply


Messages In This Thread
How do I make this command to zcmd? - by NeyMar96 - 23.07.2011, 17:35
Re: How do I make this command to zcmd? - by NeyMar96 - 23.07.2011, 22:06
Re: How do I make this command to zcmd? - by iPLEOMAX - 23.07.2011, 22:10
Re: How do I make this command to zcmd? - by NeyMar96 - 24.07.2011, 23:36

Forum Jump:


Users browsing this thread: 1 Guest(s)