Raised This Month: $ Target: $400
 0% 

Model over Floor


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 02-03-2009 , 14:33   Model over Floor
Reply With Quote #1

Well I need to set this model into the floor

PHP Code:
 
public fwdplayerkill(idattackid)
{
 if( !
is_user_connected(attackid) )
  return 
HAM_IGNORED
 
 
new Float:origin[3]
 
pev(idpev_originorigin)
 
 new 
ent engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"info_target"));
 
set_pev(entpev_classname"fake_deadbody");
 
 
set_pev(entpev_solidSOLID_NOT)
 
set_pev(entpev_movetypeMOVETYPE_NONE)
 
engfunc(EngFunc_SetModelentBODYMODEL)
 
engfunc(EngFunc_SetSizeentFloat:{-100.0, -100.0, -100.0}, Float:{100.0100.0100.0});
 
engfunc(EngFunc_SetOriginentorigin)
 
//engfunc(EngFunc_DropToFloor, ent)
 
 
return HAM_IGNORED
 

I try with fm_distance_to_floor but i cant.
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
 



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 01:45.


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