Difference between revisions of "LUA:IsBindAllowed"
(Created page with "= LUA Functions: IsBindAllowed() = Checks to see if the player can bind at its current location ==== Syntax ==== var = IsBindAllowed(param1) ==== Parameters ==== ; Required -...") |
(No difference)
|
Latest revision as of 20:35, 11 September 2013
LUA Functions: IsBindAllowed()
Checks to see if the player can bind at its current location
Syntax
var = IsBindAllowed(param1)
Parameters
- Required - param1 (Spawn)
- param1 is the spawn trying to bind
Usage
function hailed(NPC, Spawn)
if not IsBindAllowed(Spawn) then
Say(NPC, "You can not bind here")
end
end
The NPC will respond if the player can't bind at its current location
Notes
Returns a bool