mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-12 02:08:14 +08:00
[server] Implement and match n_AllowInteriorWeapons(...)
This commit is contained in:
1 parent
9e30ad1fce
commit
798d8e1b50
1 file changed
+6
-2
@@ -358,10 +358,14 @@ static cell AMX_NATIVE_CALL n_EnableVehicleFriendlyFire(AMX *amx, cell *params)
|
||||
return 1;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
|
||||
// native AllowInteriorWeapons(allow)
|
||||
static cell AMX_NATIVE_CALL n_AllowInteriorWeapons(AMX *amx, cell *params)
|
||||
{
|
||||
// TODO: AllowInteriorWeapons
|
||||
return 0;
|
||||
CHECK_PARAMS(1);
|
||||
pNetGame->m_bAllowWeapons = (bool)params[1];
|
||||
return 1;
|
||||
}
|
||||
|
||||
static cell AMX_NATIVE_CALL n_SetGravity(AMX *amx, cell *params)
|
||||
|
||||
Reference in new issue
Block a user