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