AllowInteriorWeapons

From SA-MP Wiki

Jump to: navigation, search

AllowInteriorWeapons


With this function you can disable or enable the usage of weapons inside interiors, like Ammunation, the Stadiums etc.


Parameters:
(allow)
allow1 to enable, 0 to disable interiors weapons (disabled by default).


This function does not return a specific value.


public OnGameModeInit()
{
    // This will allow weapons inside interiors.
    AllowInteriorWeapons(1);
    return 1;
}

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.


Related Callbacks

The following callbacks might be useful, as they're related to this function in one way or another.

Personal tools
In other languages