SA-MP Forums Archive
[DONATOR] for the text - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [DONATOR] for the text (/showthread.php?tid=282392)



[DONATOR] for the text - BloodGod - 10.09.2011

Hi,

I want that if someone donates, and if they talk in the chat, they get the [DONATOR] For everything they say.
How to do that? i use luxadmin for VIP; the premium account version for donators


Re: [DONATOR] for the text - BloodGod - 10.09.2011

why the name gets black?!


Re: [DONATOR] for the text - PrawkC - 10.09.2011

because GetPlayerColor(playerid) gets your players color, and I assume you're not setting the players color, so either change that to the color you want, or SetPlayerColor somewhere


Re: [DONATOR] for the text - Kingunit - 11.09.2011

If you don't want the players color you can probably change the line like this:
pawn Code:
SendClientMessageToAll(0xFFFFFFFF, string);
For the color white.


Re: [DONATOR] for the text - BloodGod - 11.09.2011

How to set a random color for the player?!


Re: [DONATOR] for the text - BloodGod - 11.09.2011

Quote:
Originally Posted by Kingunit
View Post
If you don't want the players color you can probably change the line like this:
pawn Code:
SendClientMessageToAll(0xFFFFFFFF, string);
For the color white.
I just want that he first makes a random color, and then sends every message with that color.
howq?