Why it isn't working?
#1

pawn Код:
forward WeaponsOnStuntMap();
pawn Код:
public WeaponsOnStuntMap()
{
  for(new i=0; i<MAX_PLAYERS; i++)
  {
    if(IsPlayerConnected(i))
    {
      if(IsPlayerInArea((i), 1874.8333,1599.4434,2254.5999,2629.1636) == 1)
      {
         SetPlayerArmedWeapon((i), 0);
      }
    }
  }
}
pawn Код:
public OnGameModeInit()
{
  SetTimer("WeaponsOnStuntMap", 100, 1);

  return 1;
}
I compile it and al Ok.
But in the game when i enter to the area it just don't work. I can "took my weapons out" even shoot with them
Can someone help me?
Reply


Messages In This Thread
Why it isn't working? - by TheChaoz - 30.12.2009, 02:24
Re: Why it isn't working? - by [HiC]TheKiller - 30.12.2009, 02:41
Re: Why it isn't working? - by Deat_Itself - 30.12.2009, 03:43
Re: Why it isn't working? - by TheChaoz - 30.12.2009, 11:27
Re: Why it isn't working? - by TheChaoz - 30.12.2009, 23:39

Forum Jump:


Users browsing this thread: 6 Guest(s)