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