Raised This Month: $ Target: $400
 0% 

A virtual sphere to eject player.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
AndraX2000
Member
Join Date: Mar 2006
Location: 39°57' N 83°14' W
Old 01-06-2007 , 19:00   Re: A virtual sphere to eject player.
Reply With Quote #2

If you only want to make the player who fired the shot fly, this may work.

velocity_by_aim ( iIndex, iVelocity, Float:vRetValue[3] )

iIndex is of course the player index, iVelocity is the multiplier for the velocity.

for you power adjustment try:
iVelocity = (pl_bullet_distance - MAX_SPHERE_RADIUS) * ORIGIN_POWER

Note that this will give you a negative value (which should send you flying backward).
__________________
Get maps at http://www.counter-strike-maps.net
Shoot me at:

AndraX2000 is offline
 



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


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