fix(CustomGuns): Increased distance from 50 to 500
This commit is contained in:
parent
8fb8c1e505
commit
bf17714de8
@ -37,7 +37,7 @@ namespace big
|
|||||||
Vector3 entLoc = ENTITY::GET_ENTITY_COORDS(entity, true);
|
Vector3 entLoc = ENTITY::GET_ENTITY_COORDS(entity, true);
|
||||||
double dist = functions::distance_between_vectors(player, entLoc);
|
double dist = functions::distance_between_vectors(player, entLoc);
|
||||||
|
|
||||||
if (dist > 50)
|
if (dist > 500)
|
||||||
{
|
{
|
||||||
notify::above_map("Entity is too far.");
|
notify::above_map("Entity is too far.");
|
||||||
}
|
}
|
||||||
|
@ -47,7 +47,7 @@ namespace big
|
|||||||
other = ENTITY::GET_ENTITY_COORDS(entity, true);
|
other = ENTITY::GET_ENTITY_COORDS(entity, true);
|
||||||
dist = (float)functions::distance_between_vectors(location, other);
|
dist = (float)functions::distance_between_vectors(location, other);
|
||||||
|
|
||||||
if (dist > 50)
|
if (dist > 500)
|
||||||
{
|
{
|
||||||
entity = 0;
|
entity = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user