mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-11-28 23:46:49 +01:00
Full Distribution
This commit is contained in:
8
data/talkactions/scripts/teleport_home.lua
Normal file
8
data/talkactions/scripts/teleport_home.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
function onSay(player, words, param)
|
||||
if not player:getGroup():getAccess() then
|
||||
return true
|
||||
end
|
||||
|
||||
player:teleportTo(player:getTown():getTemplePosition())
|
||||
return false
|
||||
end
|
||||
Reference in New Issue
Block a user