Minimap help
#10

Quote:
Originally Posted by maramizo
Посмотреть сообщение
Tell me if it works, I used zcmd include.
pawn Код:
CMD:mapvision(playerid, params[])
{
    new mapvisionz;
    if(PlayerTeam[playerid] == 1 && mapvisionz == 0)
    {
        for(new i = 0; i < MAX_PLAYERS; i++)
        if(PlayerTeam[i] != 1 && IsPlayerConnected(i))
        {
            SetPlayerMarkerForPlayer(playerid, i, 0xFF0000FF);
            SendClientMessage(playerid, 0xFFFFFFF, "You can now smell humans on your minimap.. Sniff Sniff.");
            LimitPlayerMarkerRadius(1000.0);
            mapvisionz = 1;
            return 1;
        }
    }
    else if(mapvisionz == 1)
    {
            LimitPlayerMarkerRadius(1.0);
            SendClientMessage(playerid, 0xFFFFFFF, "You can't smell anymore, something stuck in your nose?");
            mapvisionz = 0;
            return 1;
    }
}
I took a fast look at that and kinda looks like that will show YOUR map icon for the others o.O

I would do something like :

pawn Код:
SetPlayerColor(playerid, 0xFFFFFFF);

EDIT: took a better look at it and nvm lol
Reply


Messages In This Thread
Need help! :/ - by Randomai - 22.02.2011, 15:18
Re: Minimap help - by maramizo - 22.02.2011, 15:50
Re: Minimap help - by Randomai - 22.02.2011, 16:04
Re: Minimap help - by maramizo - 22.02.2011, 16:07
Re: Minimap help - by Randomai - 22.02.2011, 16:14
Re: Minimap help - by maramizo - 22.02.2011, 16:42
Re: Minimap help - by Randomai - 22.02.2011, 16:48
Re: Minimap help - by maramizo - 22.02.2011, 17:11
Re: Minimap help - by Randomai - 22.02.2011, 17:21
Re: Minimap help - by marinov - 23.02.2011, 00:08

Forum Jump:


Users browsing this thread: 4 Guest(s)