19.03.2012, 15:34
Quote:
Hey, i have seen on some servers that they have like their name and id in chat.
Something like this: Karl[NDZ] [0]. If someone could tell me how to make this or give me a link to a tutorial to do it, because i dont know what it is called, then i would be really glad! |
Код:
public OnPlayerText(playerid, text[]) { new string[256], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(string,sizeof(string),"%s(%d): %s",name,playerid,text); SendClientMessageToAll(0xFFFFFFFF,string); return 0; }