No categories assigned
LUA:GetMaxPowerBase
- Last edited 12 years ago by I need to Update My Profile
LUA Functions: GetMaxPowerBase()
Gets the base max power for the given spawn
Syntax
GetMaxPowerBase(param1)
Parameters
- Required - param1 (Spawn)
- param1 is the spawn who's base max power we want
Usage
function hailed(NPC, Spawn)
Say(NPC, "Your max power base is " .. GetMaxPowerBase(Spawn) .. ".")
end
This will cause the NPC to respond with the players max base power.