mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[server] Implement and match n_EnableVehicleFriendlyFire(...)
This commit is contained in:
parent
0ee6b84fd4
commit
9e30ad1fce
@ -350,10 +350,12 @@ static cell AMX_NATIVE_CALL n_EnableTirePopping(AMX *amx, cell *params)
|
||||
return 1;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
// native EnableVehicleFriendlyFire()
|
||||
static cell AMX_NATIVE_CALL n_EnableVehicleFriendlyFire(AMX *amx, cell *params)
|
||||
{
|
||||
// TODO: EnableVehicleFriendlyFire
|
||||
return 0;
|
||||
pNetGame->m_bVehicleFriendlyFire = TRUE;
|
||||
return 1;
|
||||
}
|
||||
|
||||
static cell AMX_NATIVE_CALL n_AllowInteriorWeapons(AMX *amx, cell *params)
|
||||
|
Loading…
Reference in New Issue
Block a user