No categories assigned
LUA:SetStr
- Last edited 12 years ago by I need to Update My Profile
LUA Functions: SetStr()
Modifies the strength of the given spawn
Syntax
SetStr(param1, param2)
Parameters
- Required - param1 (Spawn), param2 (sint32)
- param1 is the spawn we want to modify
- param2 is the amount we want to modify by
Usage
function hailed(NPC, Spawn)
SetStr(Spawn, -15)
end
When hailed the players strength will be reduced by 15