Difference between revisions of "LUA:SetStaBase"
(Created page with "= LUA Functions: SetStaBase() = Sets the base stamina of the given spawn ==== Syntax ==== SetStaBase(param1, param2) ==== Parameters ==== ; Required - ''param1'' (Spawn), ''p...") |
(No difference)
|
Latest revision as of 13:26, 12 September 2013
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