No categories assigned
LUA:SetPower
- Last edited 12 years ago by I need to Update My Profile
LUA Functions: SetPower()
Sets the power of the given spawn
Syntax
SetPower(param1, param2)
Parameters
- Required - param1 (Spawn), param2 (sint32)
- param1 is the spawn we want to modify
- param2 is the value we want to set the power to
Usage
function hailed(NPC, Spawn)
SetPower(Spawn, 1234
end
When hailed the players power will be set to 1234