problem with chat?
#1

Hi all,i've small problem.

When i write in the chat,nothing happens...

I try to /rcon login but nothing..chat seems dead...

But when i see the serverlog,i see the messages..why?
Reply
#2

Paste your 'OnPlayerText'
Reply
#3

Код:
public OnPlayerText(playerid, text[])
{
	if(text[0] == ';')
	{
		new string[256],name[24];
		GetPlayerName(playerid,name,24);
		format(string,256,"[TEAM] %s: %s",name,text[1]);
		for(new i = 0; i < MAX_PLAYERS; i++)
		{
			if(IsPlayerConnected(i))
			{
				if(gTeam[i] == gTeam[playerid])
				SendClientMessage(i, GetPlayerColor(playerid), string);
			}
		}
		return 0;
	}
	return 1;
}
Reply
#4

Seems not working
Reply
#5

Fuck..now i cant see nothing..even the team class spawn..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)