Posts: 3,324
Threads: 96
Joined: Sep 2013
Quote:
Originally Posted by ThePhenix
Here's an example:
pawn Код:
public OnPlayerText(playerid, text[]) { new string[128]; new Name[24]; GetPlayerName(playerid, Name, sizeof(Name)); format(string, sizeof(string), "{%06x}%s[%d]: {FFFFFF}%s", (GetPlayerColor(playerid) >>> 8), Name, playerid, text); SendClientMessageToAll(-1, string); return 0; }
|
Definitely something I didn't think of, kinda made me feel super retarded lol... I should've knew this, it's almost exactly like my radio message... Thanks Phenix