You are viewing an old version of this page. Return to the latest version.
Version of 22:57, 19 August 2013 by I need to Update My Profile
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)
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.