SetPlayerMarkerForPlayer isn't working correctly
#1

Hey guys i'm trying to setup a police system. When a player has wanted level, his name and map icons should turn red.
So far I have this code, but it isn't working.

PHP код:
CMD:police(playeridparams[])
{
     
//previous blabla
     
for(new 0MAX_PLAYERSi++)
     {
        if(
GetPlayerWantedLevel(i) >= 1)
        {
            
SetPlayerMarkerForPlayer(playeridi0xFF0000FF);
        }
     }
     return 
1;

Any ideas?

Thanks for your help!
Reply


Messages In This Thread
[SOLVED] SetPlayerMarkerForPlayer isn't working correctly - by Adamoneoone - 25.06.2018, 13:21
Re: SetPlayerMarkerForPlayer isn't working correctly - by SubGames - 25.06.2018, 15:36
Re: SetPlayerMarkerForPlayer isn't working correctly - by DaniceMcHarley - 25.06.2018, 15:43
Re: SetPlayerMarkerForPlayer isn't working correctly - by Adamoneoone - 25.06.2018, 16:13

Forum Jump:


Users browsing this thread: 1 Guest(s)