No categories assigned

LUA:HasCollectionsToHandIn

Revision as of 20:12, 11 September 2013 by Jabantiz (talk | contribs) (Created page with "= LUA Functions: HasCollectionsToHandIn() = Checks to see if the given player has collections ready to be turned in ==== Syntax ==== HasCollectionsToHandIn(param1) ==== Param...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

LUA Functions: HasCollectionsToHandIn()

Checks to see if the given player has collections ready to be turned in


Syntax

HasCollectionsToHandIn(param1)


Parameters

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


Usage

function hailed(NPC, Spawn)
    if HasCollectionsToHandIn(Spawn) then
        Say(NPC, "You have collections ready to turn in")
    end
end

The NPC will let the player know if they have collections ready to turn in

Notes

Returns a bool