Difference between revisions of "LUA:HasCollectionsToHandIn"
(Created page with "= LUA Functions: HasCollectionsToHandIn() = Checks to see if the given player has collections ready to be turned in ==== Syntax ==== HasCollectionsToHandIn(param1) ==== Param...") |
(No difference)
|
Latest revision as of 20:12, 11 September 2013
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