SA-MP Forums Archive
[SOLVED] How to use weapons inside stores? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: [SOLVED] How to use weapons inside stores? (/showthread.php?tid=587817)



[SOLVED] How to use weapons inside stores? - Eatos - 02.09.2015

Is it possible to use weapons while being inside a store (restaurant, ammunition etc)?
I'm using 0.3z running grandlarc mode.
Thanks!


Re: How to use weapons inside stores? - Krakuski - 02.09.2015

pawn Code:
public OnGameModeInit()
{
    // Put this under OnGamemodeInit()
    AllowInteriorWeapons(1); // "1" allows weapons, "0" does not allow weapons.
    return 1;
}



Re: How to use weapons inside stores? - Eatos - 02.09.2015

Quote:
Originally Posted by Krakuski
View Post
pawn Code:
public OnGameModeInit()
{
    // Put this under OnGamemodeInit()
    AllowInteriorWeapons(1); // "1" allows weapons, "0" does not allow weapons.
    return 1;
}
Thanks a lot! Problem solved!