No categories assigned

LUA:IsMezzed

Revision as of 20:03, 28 August 2013 by Jabantiz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

LUA Functions: IsMezzed()

Checks to see if the given spawn is mezzed


Syntax

IsMezzed(param1)


Parameters

Required - param1 (Spawn)
param1 is the spawn we want to check

Usage

function hailed(NPC, Spawn)
    if IsMezzed(NPC) then
        Say(NPC, "I am mezzed")
    end
end

This will have the spawn say if they are mezzed when hailed

Notes

Returns a bool, true if mezzed