mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-15 14:07:21 +08:00
fix(CustomGuns): Increased distance from 50 to 500
This commit is contained in:
parent
6b4dabc98b
commit
edbe348a46
@ -37,7 +37,7 @@ namespace big
|
||||
Vector3 entLoc = ENTITY::GET_ENTITY_COORDS(entity, true);
|
||||
double dist = functions::distance_between_vectors(player, entLoc);
|
||||
|
||||
if (dist > 50)
|
||||
if (dist > 500)
|
||||
{
|
||||
notify::above_map("Entity is too far.");
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ namespace big
|
||||
other = ENTITY::GET_ENTITY_COORDS(entity, true);
|
||||
dist = (float)functions::distance_between_vectors(location, other);
|
||||
|
||||
if (dist > 50)
|
||||
if (dist > 500)
|
||||
{
|
||||
entity = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user