SetGravity

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 22:44, 18 February 2013
Smithy (Talk | contribs)
(+Related: GetGravity)
← Previous diff
Revision as of 22:02, 2 February 2014
Connor Mead (Talk | contribs)

Next diff →
Line 1: Line 1:
{{Scripting}} {{Scripting}}
-{{Title}} 
{{Description|Set the gravity for all players.}} {{Description|Set the gravity for all players.}}
Line 24: Line 23:
[[de:SetGravity]] [[de:SetGravity]]
 +[[fr:SetGravity]]
[[ru:SetGravity]] [[ru:SetGravity]]

Revision as of 22:02, 2 February 2014



Description:

Set the gravity for all players.


Parameters:
(Float:gravity)
Float:gravityThe value that the gravity should be set to.


Return Values:

This function does not return any specific values.


Image:32px-Ambox_warning_orange.png

Note

Default gravity is 0.008


//set moon-like gravity
SetGravity(0.004);

Related Functions

The following functions may be useful, as they are related to this function in one way or another.

In other languages