Raised This Month: $51 Target: $400
 12% 

Solved entity size


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 01-20-2023 , 03:34   entity size
Reply With Quote #1

Hello
How can entity size be obtained?

Last edited by amirwolf; 01-22-2023 at 14:15.
amirwolf is offline
MrPickles
Senior Member
Join Date: Aug 2022
Location: Colombia
Old 01-21-2023 , 19:51   Re: entity size
Reply With Quote #2

Quote:
Originally Posted by amirwolf View Post
Hello
How can entity size be obtained?
u mean scale size or bbox size?

PHP Code:
static Float:__fl_Scale;
__fl_Scale entity_get_floatEntityEV_FL_scale ); // Size of model/spr, is what u see

static Float:__fl_Mins[3], Float:__fl_Maxs[3];
    
entity_get_vectorEntityEV_VEC_mins__fl_Mins ); // Obatins the size of the bbox ( mins )
entity_get_vectorEntityEV_VEC_maxs__fl_Maxs ); // Obatins the size of the bbox ( maxs ) 

Last edited by MrPickles; 01-22-2023 at 16:44.
MrPickles is offline
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 01-22-2023 , 14:14   Re: entity size
Reply With Quote #3

I mean bbox size
Solved
__________________

Last edited by amirwolf; 01-22-2023 at 14:15.
amirwolf is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode