SetPlayerMarkerForPlayer question
#1

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
Reply
#2

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);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)