How do you disable the stamina attribute?



I am currently in the process of making my own schema for Nutscript 1.1 but I have run into a little issue. My server uses CW: 2.0 weapons and when you run with a gun out it doesn’t bring your stamina bar down whatsoever, so I’ve decided that I’d like to remove the stamina system but keep the endurance attribute. The problem is that I don’t know very much about Lua and have no idea how to do this.

Any help would be much appreciated!


That will probably help

Delete this file


Nope, that removes endurance as well.


You can delete the stamina attribute from the list of attributes using the following code:

nut.attribs.list.stm = nil