SetGravity
From SA-MP Wiki
(Difference between revisions)
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.
(Float:gravity)
Float:gravity | The value that the gravity should be set to. |
Return Values:
This function does not return any specific values.
//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.
- GetGravity: Get the currently set gravity.
- SetWeather: Set the global weather.
- SetWorldTime: Set the global server time.