Show cops on radar (only for other cops)
#1

I have this function:
pawn Code:
forward TeamRadar(playerid); public TeamRadar(playerid) {
    if(IsACop(playerid)) {
        foreach(new i : Player) {
            if(IsACop(i)) {
                SetPlayerMarkerForPlayer(i, playerid, COLOR_LIMEGREEN);
            }
        }
    }
}
It is called in function every 1 second, check if player is a COP, and if player is a COP show to others COPs on radar...
It is already working, but there is a problem, if the partner go out of the player range, map icon show always to north
Even if the partner is not on the north
There is a way to fix it?

My server is already:
pawn Code:
ShowPlayerMarkers(1);
Reply


Messages In This Thread
Show cops on radar (only for other cops) - by binnyl - 20.11.2019, 02:58
Re: Show cops on radar (only for other cops) - by binnyl - 22.11.2019, 02:30
Re: Show cops on radar (only for other cops) - by Hitek - 22.11.2019, 07:53
Re: Show cops on radar (only for other cops) - by Gforcez - 22.11.2019, 08:27
Re: Show cops on radar (only for other cops) - by binnyl - 22.11.2019, 15:40
Re: Show cops on radar (only for other cops) - by binnyl - 29.11.2019, 23:24
Re: Show cops on radar (only for other cops) - by binnyl - 30.11.2019, 21:14
Re: Show cops on radar (only for other cops) - by ApolloScripter - 30.11.2019, 23:23
Re: Show cops on radar (only for other cops) - by binnyl - 02.12.2019, 03:54
Re: Show cops on radar (only for other cops) - by 4D1L - 02.12.2019, 20:39

Forum Jump:


Users browsing this thread: 3 Guest(s)