Raised This Month: $ Target: $400
 0% 

Need help with entities (solid and size)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 04-16-2009 , 01:17   Re: Need help with entities (solid and size)
Reply With Quote #1

you setted it to be solid, and did size box, its just smaller than your model, you need bigger size to make as you want, make the entity solid, and you will see what solid box is smaller than view model.. hope you got my point
__________________
xPaw is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 04-16-2009 , 06:12   Re: Need help with entities (solid and size)
Reply With Quote #2

spawn it...

PHP Code:
cmdCreateCar2(Float:FLorigin[3], Float:vAngles[3])
{
 new 
ent create_entity(gClassname);
 
 new 
Float:gSizeMin[] = {-32.0, -32.0, -4.0};
 new 
Float:gSizeMax[] = {32.032.04.0};
 
 if (
is_valid_ent(ent))
  return 
0;

 
entity_set_int(entEV_INT_movetypeMOVETYPE_NONE)
 
entity_set_vector(entEV_VEC_anglesvAngles)
 
entity_set_origin(entFLorigin)
 
DispatchSpawn(ent)
 
entity_set_model(entgszModel)
 
entity_set_int(entEV_INT_solidSOLID_BBOX)
 
entity_set_size(entgSizeMingSizeMax)

 return 
ent;

__________________
Hunter-Digital 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 02:16.


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