SetFriendlyFire
From Liberty Unleashed Wiki
This function sets the friendly fire setting on or off.
Syntax
bool SetFriendlyFire( bool bEnabled )
Arguments
- bEnabled - Should friendly fire be enabled or not
Example
function onPlayerCommand( player, command, text ) { if ( command == "setff" ) SetFriendlyFire( true ); }
Notes
This command will enable Friendly Fire in the server.
Related Functions
- CloseGarage
- CloseSSVBridge
- EnableTrains
- GetBoundariesLower
- GetBoundariesUpper
- GetFriendlyFire
- GetGamespeed
- GetGravity
- GetHour
- GetIslands
- GetMinute
- GetSSVBridgeLock
- GetSSVBridgeUpdateTime
- GetSurfaceTraction
- GetTimeLock
- GetWeather
- GetWeatherLock
- IsSSVBridgeUp
- OpenGarage
- OpenSSVBridge
- SetBoundaries
- SetFriendlyFire
- SetGamespeed
- SetGravity
- SetIslands
- SetSSVBridgeLock
- SetSSVBridgeUpdateTime
- SetSurfaceTraction
- SetTime
- SetTimeLock
- SetWeather
- SetWeatherLock