No categories assigned

LUA:GetMaxPowerBase

Revision as of 22:57, 19 August 2013 by Jabantiz (talk | contribs) (Created page with "= LUA Functions: GetMaxPowerBase() = Gets the base max power for the given spawn ==== Syntax ==== GetMaxPowerBase(param1) ==== Parameters ==== ; Required - ''param1'' (Spawn)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.