MapIcon help.
#2

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

forward HideIcon(playerid);
public HideIcon(playerid)
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
      if(IsPlayerConnected(i))
      {
        SetPlayerMarkerForPlayer(playerid, i, 00); // 00 = invisibile
        }
    }
}
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)