mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-07-15 15:07:51 +08:00
Added variables for common self natives
This commit is contained in:
@ -31,9 +31,8 @@ namespace big
|
||||
}
|
||||
else
|
||||
{
|
||||
Vector3 player = ENTITY::GET_ENTITY_COORDS(PLAYER::PLAYER_PED_ID(), true);
|
||||
Vector3 entLoc = ENTITY::GET_ENTITY_COORDS(entity, true);
|
||||
double dist = math::distance_between_vectors(player, entLoc);
|
||||
double dist = math::distance_between_vectors(self::pos, entLoc);
|
||||
|
||||
if (dist > 500)
|
||||
{
|
||||
|
Reference in New Issue
Block a user