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?
__________________