Raised This Month: $ Target: $400
 0% 

Quick Jump


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
spider853
Senior Member
Join Date: Jul 2006
Old 12-30-2006 , 18:08   Re: Quick Jump
Reply With Quote #1

But If I Change The Z Value They Can Stuck In The Ground...

If I Can Get The Vector ... And If Its Up Then Put The Gravity in - Else + and Make The Player Immune To Ground Hit

Last edited by spider853; 12-30-2006 at 18:10.
spider853 is offline
Send a message via ICQ to spider853
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 12-30-2006 , 18:52   Re: Quick Jump
Reply With Quote #2

Don't change their origin, only their velocity.

Code:
new Float:velocity[3]; pev(id,pev_velcoity,velocity); velocity[2] = -1000.0; set_pev(id,pev_velocity,velocity);

This should make them shoot upwards, still obeying the laws of HL physics (they'll stop if they hit something, and will eventually fall back down).
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX 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 22:23.


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