GetFriendlyFire
From Liberty Unleashed Wiki
This function returns the current value for friendly fire.
Syntax
bool GetFriendlyFire()
Arguments
- none
Example
function onPlayerCommand( player, command, text ) { if ( command == "friendlyfire" ) MessagePlayer( "Friendly Fire is currently set to " + GetFriendlyFire(), player ); }
Notes
This function returns a simple true/false value.
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