Bug in script but don't know what.
#5

Oops, EDIT:
Код:
public OnPlayerText(playerid, text[])
{
	new string[256];
	if(text[0] == '@')
	{
		if(pInfo[playerid][level] >= 1) return SendClientMessage(playerid,0xFF0000AA, "You cant talk here...");
  		format(string, sizeof(string), "[Team Admin Chat] %s[%i]: %s", pInfo[playerid][name], playerid, text[1]);

	  for(new j = 0; j < MAX_PLAYERS; j++)
		{
			if(IsPlayerConnected(j) && pInfo[j][level] > 0) SendClientMessage(j, COLOR_NOTICE, string);
	 	}
	 	return 0;
	}
Reply


Messages In This Thread
Bug in script but don't know what. - by `FuTuRe- - 17.01.2010, 16:07
Re: Bug in script but don't know what. - by AiVAMAN - 17.01.2010, 16:11
Re: Bug in script but don't know what. - by AiVAMAN - 17.01.2010, 16:12
Re: Bug in script but don't know what. - by Burridge - 17.01.2010, 16:12
Re: Bug in script but don't know what. - by GTAguillaume - 17.01.2010, 16:13
Re: Bug in script but don't know what. - by AiVAMAN - 17.01.2010, 16:14
Re: Bug in script but don't know what. - by AiVAMAN - 17.01.2010, 16:20

Forum Jump:


Users browsing this thread: 1 Guest(s)