Do you realize how often client_prethink is called?
You will burn through stamina nearly instantly.
PHP Code:
if (nbut[id] == IN_USE)
{
if(stamina[id] == 0)
{
}
if(stamina[id] > 0)
{
set_user_health(hit, -1)
remove_task(id)
stamina[id] = stamina[id] - 1
__________________