SA-MP Forums Archive
Radar Color System - 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: Radar Color System (/showthread.php?tid=338959)



Radar Color System - Revodare - 01.05.2012

hi,

First of all sorry for the bad english ,

Does anybody got a good working radar system with colors that are not invisible
Or could anybody explain me how this works ?

This what i got in my script. But i see almost invisible colors
Does anybody know why?

Код:
			static R, G, B;
		    SetPlayerColor(playerid, random((R * 16777216)) + random((G * 65536)) + random((B*256)));
		    if(GetPlayerColor(playerid) == COLOR_YELLOW) {
		        if(PlayerInfo[playerid][AdminLevel] == 0) {
		            SetPlayerColor(playerid, random((R * 16777216)) + random((G * 65536)) + random((B*256)));
				}
Thnx in advanace,
Revodare,