AllowInteriorWeapons

Description

Toggle whether the usage of weapons in interiors is allowed or not.

NameDescription
allow1 to enable weapons in interiors (enabled by default), 0 to disable weapons in interiors.

Returns

This function does not return any specific values.

Examples

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

Notes

warning

This function does not work in the current SA:MP version!

Related Functions