Varianek
New Member
- Joined
- Nov 4, 2020
- Messages
- 16
- Reaction score
- 2
Hi, I need help with this script. I plan to add to this script exhaust but I don't know how add.
The script teleport players to pos xyz. If player come back too soon This player must wait xx minutes.
The script teleport players to pos xyz. If player come back too soon This player must wait xx minutes.
Lua:
function onStepIn(cid, item, pos)
local pos = {x=148, y=379, z=7}
doPlayerSendTextMessage(cid,22,"Next step.")
doTeleportThing(cid,pos)
doPlayerSendTextMessage(cid,22,"Teleport is closed to you. You must wait 2 minutes.")
end