ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. getGravity

Function

getGravity

Server and clientWorldIdentical to MTA:SA

Returns the world gravity strength (0.008 by default).

Syntax

float getGravity()

Returns

The gravity.

Example

outputDebugString("Grawitacja: " .. getGravity())

See also