AllowInteriorWeapons(); possible bug?
#2

Quote:
Originally Posted by Enemy_Plus[SA:MP
]
Well in my Gamemode i have set weapons to be disabled in interiors. But it doesnt work.

Can anyone test this? Because its really shitting me off that its not working.
Really? I'll go test this ASAP, give me like two minutes.

EDIT: Alright, I guess it doesn't work, wow..

You could use OnPlayerUpdate..

pawn Код:
public OnPlayerUpdate(playerid)
{
    if(GetPlayerInterior(playerid) > 0)
    {
      SetPlayerArmedWeapon(playerid, 0);
      return 1;
    }
    return 1;
}
Reply


Messages In This Thread
AllowInteriorWeapons(); possible bug? - by pagie1111 - 04.10.2009, 03:32
Re: AllowInteriorWeapons(); possible bug? - by (.Aztec); - 04.10.2009, 03:33
Re: AllowInteriorWeapons(); possible bug? - by pagie1111 - 04.10.2009, 07:52
Re: AllowInteriorWeapons(); possible bug? - by (.Aztec); - 04.10.2009, 14:55
Re: AllowInteriorWeapons(); possible bug? - by pagie1111 - 04.10.2009, 15:17
Re: AllowInteriorWeapons(); possible bug? - by Sergei - 04.10.2009, 16:02
Re: AllowInteriorWeapons(); possible bug? - by (.Aztec); - 04.10.2009, 16:14
Re: AllowInteriorWeapons(); possible bug? - by (Jeff) - 04.10.2009, 16:24
Re: AllowInteriorWeapons(); possible bug? - by (.Aztec); - 04.10.2009, 19:12
Re: AllowInteriorWeapons(); possible bug? - by pagie1111 - 05.10.2009, 01:07

Forum Jump:


Users browsing this thread: 1 Guest(s)