help... - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help... (
/showthread.php?tid=92421)
help... -
WardenCS - 20.08.2009
hello,i wanted to ask,is there some function like ifplayercolor,if u got color white at TAB you it will be like ifplayercolor COLOR_WHITE or smth?
Re: help... -
Correlli - 20.08.2009
https://sampwiki.blast.hk/wiki/GetPlayerColor
Important note: GetPlayerColor will return nothing unless SetPlayerColor has been used!
Re: help... -
WardenCS - 20.08.2009
how can i use it?

like if i wanna make radio with only white named ppl can hear it?
Re: help... -
Correlli - 20.08.2009
pawn Код:
if(GetPlayerColor(playerid) == 0xFFFFFFAA)
{
// code.
}