Posts: 3,351
Threads: 780
Joined: Jan 2010
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?
Paste your 'OnPlayerText'
Posts: 3,351
Threads: 780
Joined: Jan 2010
Код:
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;
}
Posts: 3,351
Threads: 780
Joined: Jan 2010
Seems not working
Posts: 3,351
Threads: 780
Joined: Jan 2010
Fuck..now i cant see nothing..even the team class spawn..