Raised This Month: $ Target: $400
 0% 

Get proper model size for creating accurate bounding box


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 04-27-2014 , 13:18   Re: Get proper model size for creating accurate bounding box
Reply With Quote #9

PHP Code:
"%i %i %i - %i %i %i" 
Aren't mins and maxs supposed to be floats?
Or maybe try
PHP Code:
native SetModelCollisionBox(entity); 
Code:
/**
* Sets entity size to the models collision box.
*
* @param entity        The entity index to set the value on.
* 
* @return              1 on success, 0 on faillure.
* 
* @error               Invalid entity.
*                      Invalid model pointer.
*/
I believe that is also in 1.8.3.
And for moderators: it should be "failure", not "faillure" in @return line.

Last edited by klippy; 04-27-2014 at 13:22.
klippy is offline
 



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 06:03.


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