Raised This Month: $ Target: $400
 0% 

block bomb damage? possible?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 03-14-2009 , 13:13   Re: block bomb damage? possible?
Reply With Quote #6

You need to use the calculation of distance and damage.
The farther the player, the least damage.
If the player is close, give him high damage.

There are many plugins who use that calculation, search.

P.S: Something like this:

PHP Code:
// From Molotov Cocktail plugin.
tempdmg damage - (damage range) * get_distance_f(originpOrigin); 
__________________
O o
/¯________________________
| IMMA FIRIN' MAH LAZOR!!!
\_¯¯¯
Dores 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 08:56.


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