Raised This Month: $ Target: $400
 0% 

Help / Support painshockfree problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nick Haldem
Senior Member
Join Date: Jun 2011
Location: Moldova
Old 08-18-2012 , 06:13   painshockfree problem
Reply With Quote #1

Hello everyone.I have such a problem and I dont know how to fix it.Can somebody help me pliz and explain on what does it affect

L 08/18/2012 - 05:13:52: Invalid CVAR pointer
L 08/18/2012 - 05:13:52: [AMXX] Displaying debug trace (plugin "zp50_painshockfree.amxx")
L 08/18/2012 - 05:13:52: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 08/18/2012 - 05:13:52: [AMXX] [0] zp50_painshockfree.sma::fw_TakeDamage_Post (line 89)
Attached Files
File Type: sma Get Plugin or Get Source (zp50_painshockfree.sma - 589 views - 3.8 KB)
__________________
Your server is empty? Visit our webpage http://boost.dyc.lv/ and make it full!!!
Nick Haldem is offline
Send a message via Skype™ to Nick Haldem
Torge
Veteran Member
Join Date: Oct 2011
Old 08-18-2012 , 12:31   Re: painshockfree problem
Reply With Quote #2

Try this:

PHP Code:
if (get_pcvar_num(cvar_painshockfree_nemesis) == 0)
        return 
PLUGIN_HANDLED
Torge is offline
Nick Haldem
Senior Member
Join Date: Jun 2011
Location: Moldova
Old 08-18-2012 , 15:48   Re: painshockfree problem
Reply With Quote #3

This command will add to nemesis 0 painshock?
__________________
Your server is empty? Visit our webpage http://boost.dyc.lv/ and make it full!!!
Nick Haldem is offline
Send a message via Skype™ to Nick Haldem
gogicaa
Veteran Member
Join Date: Aug 2011
Location: //
Old 08-18-2012 , 17:14   Re: painshockfree problem
Reply With Quote #4

No.
gogicaa is offline
Torge
Veteran Member
Join Date: Oct 2011
Old 08-18-2012 , 19:19   Re: painshockfree problem
Reply With Quote #5

Quote:
Originally Posted by Nick Haldem View Post
This command will add to nemesis 0 painshock?
It checks if the cvar is 0, if yes, nemesis wont be pain shock free.
Torge 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 03:09.


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