Raised This Month: $ Target: $400
 0% 

Help a newb with bad code?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 07-14-2008 , 00:23   Re: Help a newb with bad code?
Reply With Quote #2

Is that the entire code? If it is, the you need to use plugin_init routine.
Code:
 
public plugin_init()
{
 register_plugin("Fun Health","0.1beta","iheartshrooms")
 
 p_enabled = register_cvar("funhealth_on","1")
 p_givehealth = register_cvar("funhealth_bonus","50")
 p_spawnhealth = register_cvar("funhealth_spawn","300")
 register_statsfwd(XMF_DEATH)
}
__________________
=====================================
- My Plugins -
=====================================
Vet is offline
Send a message via MSN to Vet
 



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 05:38.


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