What's new

Skrypty & Kody talkactions komenda tp

Status
Not open for further replies.

Gizmoo

Advanced User
Joined
Jan 9, 2011
Messages
243
Reaction score
2
witam , mam problem posiadam taki skrypt :
[LUA]local config = {
frompos = {x=478, y=554, z=7},
topos = {x=482, y=558, z=7},
gdzietp = {x=486, y=557, z=7} -- pozycja gdzie ma teleportowac gdy wypowiemy zaklecie
}

function onSay(cid, words, param)
if isInArea(getPlayerPosition(cid), config.frompos, config.topos) then
doSendMagicEffect(getPlayerPosition(cid), 13)
doTeleportThing(cid, config.gdzietp)
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Tutaj nie mozesz uzyc tego zaklecia.")
end
end[/LUA]

a w konsoli pojawia mi sie taki b??d :
[LUA]
[20/02/2016 20:59:05] data/talkactions/scripts/sezam.lua:8: attempt to call global 'isInArea' (a nil value)[/LUA]

i tu pojawia si? pytanie czy mo?na jako? to zast?pi? ?
 

Gizmoo

Advanced User
Joined
Jan 9, 2011
Messages
243
Reaction score
2
Odp: talkactions komenda tp

0.2.10

---------- Tre?? dodana o 17:52 ----------

0.2.10
 
Status
Not open for further replies.
Top