Got a quick question for you folks..
Is it faster and more efficient to use Defines or pcvars?
Pcvar Examples:
PHP Code:
new hpmax
hpmax = register_cvar("amx_mhp", "200")
......
hpm = get_pcvar_num(hpmax);
if(curhp < hpm)
{
//do stuff
}
Define Example:
PHP Code:
#define MAX_HP 200
.....
if(curhp < MAX_HP)
{
//do stuff
}
edit: Keep in mine i will have 6 defines for setting health. or 6 pcvars