Raised This Month: $ Target: $400
 0% 

throw a model, object. etc...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 02-09-2009 , 10:25   throw a model, object. etc...
Reply With Quote #1

Hi, i maked this, but doesn't throw with velocity... idk why..

ENT was created...here is the code




PHP Code:
new Float:throwVelocity[3];
velocity_by_aim(id400throwVelocity);

new 
Float:origin[3];
pev(idpev_originorigin);
set_pev(entpev_originorigin);
set_pev(entpev_classname"something");
engfunc(EngFunc_SetModelentmodel);
engfunc(EngFunc_SetSizeentminsmaxs);
set_pev(entpev_solidSOLID_BBOX);
set_pev(entpev_movetypeMOVETYPE_TOSS);
set_pev(entpev_velocitythrowVelocity);
engfunc(EngFunc_DropToFloorent); 

i want to throw a model like a weapon, bomb, etc..
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 02-09-2009 , 10:30   Re: throw a model, object. etc...
Reply With Quote #2

PHP Code:
new Float:velo[3]
pev(idpev_velocityvelo)
velo[2] += 100
 
set_pev
(entpev_velocityvelo
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 02-09-2009 , 10:57   Re: throw a model, object. etc...
Reply With Quote #3

hmm... ty.. but idk if he works.. no i test..
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Reply


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


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