Raised This Month: $ Target: $400
 0% 

drop a object with velocity and on touch doesnt work


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 03-01-2009 , 13:32   drop a object with velocity and on touch doesnt work
Reply With Quote #1

Hi, i made this code

PHP Code:
new Float:iVelocity], Float:iOrigin];
velocity_by_aimidrandom_num80400 ), iVelocity );
pevidpev_originiOrigin );
set_peventpev_originiOrigin );
set_peventpev_classnamegClassname );
engfuncEngFunc_SetModelent,MODEL );
engfuncEngFunc_SetSizeentMINSZMAXSZ );
set_peventpev_solidSOLID_BBOX );
set_peventpev_movetypeMOVETYPE_TOSS );
set_peventpev_velocityiVelocity );
dllfuncDLLFunc_Spawnent );
// engfunc( EngFunc_DropToFloor, ent );
fm_set_renderingentkRenderFxGlowShell02550kRenderNormal70 );
cs_remove_user_nvgid ); // a stock... ^^ 
the problem is, when i use dllfunc( DLLFunc_Spawn, ent ); the object will dropped with nice velocity but i cant touch him... and if i use engfunc( EngFunc_DropToFloor, ent ); the velocity doesn't work and i can touch the model. I need a little help
__________________

Last edited by tuty; 03-01-2009 at 15:38.
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
 


Thread Tools
Display Modes

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 17:04.


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