Posts: 3,324
Threads: 96
Joined: Sep 2013
Quote:
Originally Posted by SickAttack
We? You didn't do anything, 0, nothing at all!
You should be nicer to people, I didn't want to post something that was already stated above.
Plus, the code of ThePhenix and mine does the exact same thing, in this case (The example of ThePhenix and my line).
Here's another way of doing this, assuming you stored a colour " 0xFF00FFFF" in a string " PlayerInfo[playerid][pColour]":
pawn Код:
public OnPlayerText(playerid, text[]) { new string[144], name[MAX_PLAYER_NAME], playercolour; GetPlayerName(playerid, name, sizeof(name)); sscanf(PlayerInfo[playerid][pColour], "x", playercolour); format(string, sizeof(string), "(%d) %s: {FFFFFF}%s", playerid, name, text); SendClientMessageToAll(playercolour, string); return 0; }
Don't mislead others without a single clue what so ever.
- Regards,
SickAttack.
|
Ehmm, if you would read the main post, it says that your way does not work, I already tried it... It sends the wrong colors, and if I use his code, I did do something... Also, I stated in my comment that I already had something just like his and I didn't think about it... And for you, I was being nice, I said thanks, I was glad to see you trying to help, and I said NO HARD FEELINGS... Quit being a dick, just read...