SA-MP Forums Archive
Get color - 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: Get color (/showthread.php?tid=515522)

Pages: 1 2


Re: Get color - audriuxxx - 28.05.2014

https://sampforum.blast.hk/showthread.php?tid=352601


Re: Get color - Threshold - 28.05.2014

Quote:
Originally Posted by audriuxxx
View Post
Hmmm, maybe that is what I was trying to do.


Re: Get color - audriuxxx - 28.05.2014

if(strcmp(cmd, "/invisible", true) == 0)
{
for(new i=0; i < MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
SetPlayerMarkerForPlayer( playerid, i, ( GetPlayerColor( i ) & 0xFFFFFF00 ) );
SetPlayerMarkerForPlayer( i, playerid, ( GetPlayerColor( playerid ) & 0xFFFFFF00 ) );
}
}
return 1;
}

And i have same problem. From far i don't see, but when i get closer i see a marker. Like in link which i give, i do the same, cikle, then set marker like in this command, just when spawn. Maybe here is sa-mp bug?