"OnPlayerUpdate Wanted"
#2

0xFF000000 will make the color correct, and invisible to the rest of the server. It's all to do with the alpha channel of the color you are using. You'll likely have 0xFF0000FF as COLOR_RED.

Using SetPlayerMarkerForPlayer, for playerid, and playerid is stupid, as you can't see your own marker.


Also, I'd say this isn't a good way at all to use OnPlayerUpdate... That callback fires so fast, and every millisecond you are checking the wanted level of the player...

Chances are you'll have the server lag out if more than a couple of people are on the server.
Reply


Messages In This Thread
"OnPlayerUpdate Wanted" - by DerickClark - 22.01.2017, 23:57
Re: "OnPlayerUpdate Wanted" - by Sew_Sumi - 23.01.2017, 04:46
Re: "OnPlayerUpdate Wanted" - by DerickClark - 24.01.2017, 00:14
Re: "OnPlayerUpdate Wanted" - by Sew_Sumi - 24.01.2017, 04:00

Forum Jump:


Users browsing this thread: 3 Guest(s)