SA-MP Forums Archive
no weapons in interior - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: no weapons in interior (/showthread.php?tid=363978)



no weapons in interior - P<3TS - 29.07.2012

Why i cant take any weapons in interiors, when i try to take at that time it will go


Re: no weapons in interior - Devilxz97 - 29.07.2012

pawn Код:
AllowInteriorWeapons(1);



Re: no weapons in interior - P<3TS - 29.07.2012

ty very much


Re: no weapons in interior - P<3TS - 29.07.2012

i added but still i cant...why??


Re: no weapons in interior - Devilxz97 - 29.07.2012

put it under OngamemodeInIt


Re: no weapons in interior - P<3TS - 29.07.2012

i did same like that ...


Re: no weapons in interior - [MM]RoXoR[FS] - 29.07.2012

Make sure, you have added it under OnGameModeInIt
https://sampwiki.blast.hk/wiki/AllowInteriorWeapons


Re: no weapons in interior - P<3TS - 29.07.2012

Yes i did the same thing


Re: no weapons in interior - P<3TS - 29.07.2012

even i cant use it in grand larcny


Re: no weapons in interior - Andi_Evandy - 29.07.2012

AllowInteriorWeapons does nothing

to resolve it, try this includes:
fixes.inc: https://sampforum.blast.hk/showthread.php?tid=292813

or Add This in "OnPlayerUpdate" (You can remove that "AllowInteriorWeapons"):
pawn Код:
if(GetPlayerInterior(playerid) && GetPlayerWeapon(playerid)) SetPlayerArmedWeapon(playerid, 0);