No categories assigned
LUA:SetStaBase
- Last edited 12 years ago by I need to Update My Profile
LUA Functions: SetStaBase()
Sets the base stamina of the given spawn
Syntax
SetStaBase(param1, param2)
Parameters
- Required - param1 (Spawn), param2 (int16)
- param1 is the spawn we want to modify
- param2 is what we want to set the base stamina to
Usage
function hailed(NPC, Spawn)
SetStaBase(Spawn, 20)
end
When hailed the players base stamina is set to 20