Scripting/Squirrel/Functions/GetFallEnabled: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "This function will return the current status of fall ( vehicle killing type ) being enabled or disabled. == Syntax == <pre>GetFallEnabled()</pre> == Arguments == '''N/A'''...")
(No difference)

Revision as of 09:47, 9 March 2016

This function will return the current status of fall ( vehicle killing type ) being enabled or disabled.

Syntax

GetFallEnabled()

Arguments

N/A

Return value

  • bool toggled - true or false

Example

function onScriptLoad ()
{
print ( "Fall is set to " + GetFallEnabled() + "!");
}

- Xmair.

Notes

Call onScriptLoad was used in this example.

Related Functions