Difference between revisions of "LUA:GetStaBase"
(Created page with "= LUA Functions: GetStaBase() = Gets the base stamina for the given spawn ==== Syntax ==== var = GetStaBase(param1) ==== Parameters ==== ; Required - ''param1'' (Spawn) : ''p...") |
(No difference)
|
Latest revision as of 19:04, 11 September 2013
LUA Functions: GetStaBase()
Gets the base stamina for the given spawn
Syntax
var = GetStaBase(param1)
Parameters
- Required - param1 (Spawn)
- param1 is the spawn who's base stamina we want to get
Usage
function hailed(NPC, Spawn)
Say(NPC, "Your base stamina is: " .. GetStaBase(Spawn))
end
The NPC will respond with the players base stamina
Notes
Returns an int32