SA-MP Forums Archive
Marker help. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Marker help. (/showthread.php?tid=351937)



Marker help. - iGetty - 17.06.2012

So in my /call 911 section, on the end I have this:


pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
                {
                    if(Player[i][Faction] == 1)
                    {
                        SetPlayerMarkerForPlayer(playerid, i, BLUE);
                    }
                }
Can someone tell me why the marker just doesn't show?

Thanks!


Re: Marker help. - ViniBorn - 17.06.2012

The player who typed the command will see all player (if Faction is 1 ) ?

It seems correct ...


Re: Marker help. - ReneG - 17.06.2012

If you want all the cops to be able to see whoever called 911.
pawn Код:
SetPlayerMarkerForPlayer(i, playerid, BLUE);
https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer