Raised This Month: $ Target: $400
 0% 

[FUN] Player out of range (0)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-25-2007 , 10:50   Re: [FUN] Player out of range (0)
Reply With Quote #1

Code:
    if (!var_hptogive)         return // Something went wrong, cancel.

You didn't understand this, in case you would give HP only for HS, and not for normal kills, cvar amx_hponfrag_health would be set to 0, then var_hptogive would be 0, so this -> if (!var_hptogive) would match.

I don't understand why you set both hp cvars to 25, in that case you don't have to check if it's a HS or not ;)

Quote:
Originally Posted by TheLinxSWE View Post
You should release that! I´m just off to test it
http://forums.alliedmods.net/showthread.php?t=29196

Last edited by ConnorMcLeod; 10-25-2007 at 11:49.
ConnorMcLeod 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 01:21.


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