kimokimo
Kimo
today i started my first script its when player step in wrong tile he got teleported to temple but idk why dont work here is the script
PHP:
local config = {
local place = {x=1000, y=1000, z=7} --Where they will be teleported to
}
function onStepIn(cid, item, position, fromPosition)
doTeleportThing(cid, place)
doSendMagicEffect(telepos, CONST_ME_ENERGYAREA)
doPlayerSendTextMessage(cid, 22, "Wrong tile, start again!")
end