Skip to main content

GetGravity

คำอธิบาย

Get the currently set gravity.

NameDescription

ตัวอย่าง

#if !defined GetGravity
native Float:GetGravity();
#endif

printf("Current gravity: %f", GetGravity());

บันทึก

warning

This function is not defined by default. Add 'native Float:GetGravity();' under the inclusion of a_samp.inc to use it.

ฟังก์ชั่นที่เกี่ยวข้องกัน