SetPlayerMapIcon in OnPlayerUpdate?
#1

I want to make the player map icon with the position of hiis love..


pawn Код:
if(PlayerInfo[playerid][pMarried] != 0)
    {
        for(new i=0; i < MAX_PLAYERS; i++)
        {
            if(!strcmp(GetName(i), PlayerInfo[playerid][pMarriedTo]))
            {
                new Float: x,
                    Float: y,
                    Float: z;
                GetPlayerPos(i, x,y,z);
                SetPlayerMapIcon(playerid, 210, x,y,z, 21 , 0 , MAPICON_GLOBAL); //marriage ls
            }
        }
    }
But is not working , why ?

I want Player 1 to see Player 2 as a heart on map .
Reply


Messages In This Thread
SetPlayerMapIcon in OnPlayerUpdate? - by Metharon - 23.07.2015, 12:40
AW: SetPlayerMapIcon in OnPlayerUpdate? - by Mencent - 23.07.2015, 12:44

Forum Jump:


Users browsing this thread: 1 Guest(s)