MapIcon help.
#7

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
  if (newkeys & KEY_FIRE)
  {
        for(new a = 0, b = GetMaxPlayers(); a < b; a++)
        {
        SetPlayerMarkerForPlayer(playerid, a, GetPlayerColor(playerid));
            SetTimerEx("HideIcon",2000,0,"i",playerid);
        }
        return 1;
    }
    return 1;
}

forward HideIcon(playerid);

public HideIcon(playerid)
{
    for(new a = 0, b = GetMaxPlayers(); a < b; a++)
    {
    SetPlayerMarkerForPlayer(playerid, a, 00);
    }
    return 1;
}
I'm not very good with the markers lol, so I dunno if it'll work.
Reply


Messages In This Thread
MapIcon help. - by Doppeyy - 24.06.2010, 18:57
Re: MapIcon help. - by ReVo_ - 24.06.2010, 19:02
Re: MapIcon help. - by Doppeyy - 24.06.2010, 19:08
Re: MapIcon help. - by ReVo_ - 24.06.2010, 19:09
Re: MapIcon help. - by Doppeyy - 24.06.2010, 20:10
Re: MapIcon help. - by [HiC]TheKiller - 24.06.2010, 20:14
Re: MapIcon help. - by Joe_ - 24.06.2010, 20:17
Re: MapIcon help. - by Doppeyy - 24.06.2010, 20:18

Forum Jump:


Users browsing this thread: 1 Guest(s)