Raised This Month: $ Target: $400
 0% 

DoD Stamina Question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Dizzy
Veteran Member
Join Date: Jun 2004
Location: Massachusetts
Old 06-21-2005 , 15:29   DoD Stamina Question
Reply With Quote #1

Alright I Looked In The dodfun and dodconst

I looked for the script to change stamina or set it full

I got this so far

Code:
#include <amxmodx> #include <dodconst> #include <dodfun> public plugin_init() {    register_plugin("Free Stamina","0.1","Dizzy")    register_cvar("amx_stamina","1")    register_clcmd("stamina","stamina") } public stamina(id) {    if (get_cvar_num("amx_stamina")==0)       return PLUGIN_HANDLED    dod_player_stamina(1,STAMINA_SET,100,100)       return PLUGIN_HANDLED }

now in the dodfun.inc it stats

Quote:

/* Example: for full stamina use dod_player_stamina(1,STAMINA_SET,100,100) */
When I Compile It I Get

dod_player_stamina Is not Defined...

It is in the dodfun.inc is it not?
__________________
My Plugins

Purchase Mod - Stable
Type Sounds - Stable
Monster Spawner - Stable
Nade Giver - Maintenance
Dizzy is offline
Send a message via AIM to Dizzy
 


Thread Tools
Display Modes

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 07:07.


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