mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-05 17:13:29 +08:00
725 B
725 B
Table: self
Table for retrieving data or info about our own player object.
Functions (5)
get_ped()
- Returns:
integer
: Script handle of our ped.
Example Usage:
integer = self.get_ped()
get_id()
- Returns:
integer
: Our player id.
Example Usage:
integer = self.get_id()
get_pos()
- Returns:
vec3
: Position of our ped.
Example Usage:
vec3 = self.get_pos()
get_rot()
- Returns:
vec3
: Rotation of our ped.
Example Usage:
vec3 = self.get_rot()
get_veh()
- Returns:
integer
: Script handle of our current vehicle.
Example Usage:
integer = self.get_veh()