SampSharp
SampSharp
SampSharp.Entities.SAMP
WorldService Class
WorldService Properties
Gravity Property
WorldService
Gravity Property
Gets or sets the gravity.
Namespace:
SampSharp.Entities.SAMP
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
Copy
public
float
Gravity
{
get
;
set
; }
Property Value
Type:
Single
Implements
IWorldService
Gravity
Exceptions
Exception
Condition
ArgumentOutOfRangeException
Thrown if value is not between -50.0 and 50.0.
See Also
Reference
WorldService Class
SampSharp.Entities.SAMP Namespace