Difference between revisions of "LUA:IsStealthed"
(Created page with "This function will check if a spawn is stealth or not. ==== Syntax ==== IsStealthed([Spawn] Spawn) ==== Usage ==== <pre> function hailed(NPC, Spawn) if IsStealthed(Spawn) t...") |
(No difference)
|
Latest revision as of 18:26, 13 August 2013
This function will check if a spawn is stealth or not.
Syntax
IsStealthed([Spawn] Spawn)
Usage
function hailed(NPC, Spawn)
if IsStealthed(Spawn) then
Say(NPC, "You're stealthed!")
end
end
When a npc is hailed while a player is stealthed, the npc will say "You're stealthed!".