No categories assigned
LUA:IsStealthed
- Last edited 12 years ago by I need to Update My Profile
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!".