SetPlayerMarkerForPlayer question - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SetPlayerMarkerForPlayer question (
/showthread.php?tid=261122)
SetPlayerMarkerForPlayer question -
GangsTa_ - 12.06.2011
Let's say I type /adminduty.
My colour gets red, but the marker won't show on the map.
Can anyone tell me how to do that? I already done, but on the map I'm not being seen, and even my color isn't being set. Help please:
https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer
Re: SetPlayerMarkerForPlayer question -
GangsTa_ - 12.06.2011
This is when you go on adminduty:
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
SetPlayerMarkerForPlayer(i, playerid, COLOR_RED);
}
Here's when you aren't on it anymore:
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
SetPlayerMarkerForPlayer(i, playerid, TEAM_HIT_COLOR);
}