"OnPlayerUpdate Wanted"
#3

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
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.
But if wanted player check tab the hes not red or the text when he chat. i don't want it to display for all players
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: 2 Guest(s)