15.11.2011, 19:22
PHP код:
public OnPlayerText(playerid, text[])
{
new string[128],pName[MAX_PLAYER_NAME];
if(PlayerInfo[playerid][pAdmin] < 6)
GetPlayerName(playerid,pName,sizeof(pName));
format(string,sizeof(string),""COL_RED"[Server Owner]"COL_WHITE" %s: %s",pName,text);
SendClientMessageToAll(COLOR_WHITE,string);
return 0;
}
[php[Server Owner] %s[Playername]:%s[text][/php] but the issue is when I go ingame and chat it just comes up as
[Server Owner]: Hi [For example]
Rep+ For help