Scripting/Squirrel/Functions/GetFallEnabled

From Vice City Multiplayer
Revision as of 09:47, 9 March 2016 by Xmair (talk | contribs) (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'''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing

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