SetPlayerMarkerForPlayer not working?
#3

Quote:
Originally Posted by Ballu Miaa
Посмотреть сообщение
You should provide us the code to help you. Use the [ pawn ] [ /pawn ] tags and enclose the code within.
Sorry, here you go:
pawn Код:
public OnGameModeInit()
{
    ShowPlayerMarkers(0);
}
CMD:backup(playerid)
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        SetPlayerMarkerForPlayer(playerid, i, 0xFF0000FF);
        SetPlayerMarkerForPlayer(i, playerid, 0xFF0000FF);
    }
}
I want everyone the server (including the player that did the /backup command) to have a red marker where they're located on the mini map/radar once this command is executed, however it only is changing everyone's name color to 0xFF0000FF (Red) and not creating a marker on the radar. It does work when I set ShowPlayerMarkers to 1 however, but then the problem is that everyone has a marker all the time which I don't want.
Reply


Messages In This Thread
SetPlayerMarkerForPlayer not working? - by unSatisfied - 14.09.2015, 01:55
Re: SetPlayerMarkerForPlayer not working? - by Ballu Miaa - 14.09.2015, 02:19
Re: SetPlayerMarkerForPlayer not working? - by unSatisfied - 14.09.2015, 02:30
Re: SetPlayerMarkerForPlayer not working? - by unSatisfied - 14.09.2015, 15:20
Re: SetPlayerMarkerForPlayer not working? - by unSatisfied - 20.09.2015, 03:31
Re: SetPlayerMarkerForPlayer not working? - by xVIP3Rx - 20.09.2015, 03:44
Re: SetPlayerMarkerForPlayer not working? - by unSatisfied - 20.09.2015, 04:22
Re: SetPlayerMarkerForPlayer not working? - by xVIP3Rx - 20.09.2015, 04:40
Re: SetPlayerMarkerForPlayer not working? - by Gammix - 20.09.2015, 05:30

Forum Jump:


Users browsing this thread: 1 Guest(s)