Raised This Month: $ Target: $400
 0% 

need CVAR help!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
timian
Member
Join Date: Oct 2006
Location: Denmark
Old 06-30-2009 , 15:15   need CVAR help!
Reply With Quote #1

PHP Code:
#include <amxmodx>
#include <fun>
#include <hamsandwich>

new cvar_StartHP
new cvar_MinimumHP

public plugin_init(){
    
register_plugin("need cvar help""1.1""Beancake12")
    
cvar_startHP register_cvar("amx_ETO_startHP""300")
    
cvar_minimumHP register_cvar("amx_ETO_minimumHP""50")
}

public 
cvar_function() {
    
how can i make the cvars change the start hp
    
and how do i make it change minimum hp?

timian 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 15:32.


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