SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 20/11/2019, 02:58 AM   #1
Huge Clucker
Join Date: Aug 2017
Posts: 284
Reputation: 6
Default Show cops on radar (only for other cops)

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:
binnyl is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] Cops Lokii Includes 15 28/01/2019 12:55 PM
[Ajuda] Cops Poderem pegar carros de outros Cops Vitor_Marfioso Português/Portuguese 16 12/01/2012 01:54 PM
[Ajuda] COPS pegarem carros de outros COPS Vitor_Marfioso Português/Portuguese 2 06/01/2012 08:22 PM
GF cops&fbi....... skynny Help Archive 1 17/02/2010 06:57 PM
Car Cops monster010 Help Archive 4 14/09/2009 04:07 PM

All times are GMT. The time now is 04:47 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.