How you set colors - 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: How you set colors (
/showthread.php?tid=333385)
How you set colors -
sanjil_rijal - 11.04.2012
Can anyone show me how can i set color of only Server Administrator in this make a copyable post coz i got errors many times.
Код:
else if(PlayerInfo[playerid][pAdmin] >= 2)
{
new string[128];
format(string, sizeof(string), "(( Server Administrator %s: %s ))", GetPlayerNameEx(playerid), params);
OOCOff(COLOR_OOC,string);
}
Re: How you set colors -
freddy smyth - 11.04.2012
At the top, do #define "yellow" [colour]?
Re: How you set colors -
sanjil_rijal - 11.04.2012
Sorry but i didnt get u
Re: How you set colors -
sanjil_rijal - 11.04.2012
Help me pls
Re: How you set colors -
[GF]Logic - 11.04.2012
just make something use Call back on player spawn and make the isplayeradmin thing to check if the player is an admin if yes setcolor(bla bla bla bla) if not return 0;