No categories assigned
LUA:GetStaBase
- Last edited 12 years ago by I need to Update My Profile
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