Does anyone actually use this?
I thought for donators it would be cool.
I will, if I ever finish my project. Can't
+Rep you again for a while tho
Btw remember to put return TRUE on some lines there i.e:
Lua:
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You teleported to the ".. param .."!")
return TRUE
So the
"/tp xxxx" command is not shown in log after success/failure.
(At least in TFS 0.3.2 this is needed!)
Btw as a side note, I saw something similar to this script on a server a long time ago, but it was a bit more complex, it was something with map markers. For donators of course.
Like player says
"/mapmark 1" and the map gets a marker in that spot (or it just saves the position), then he could say
"/tpmark 1" and get teleported to that marked spot
(only under certain conditions like yours ofc), and he could have like 5 different custom marks max to have/modify.
Ive tried but didnt even get close so Im just throwing out the idea for a future (and maybe more complex) script if you wish to keep developing this type of script further.
Good luck, keep it up :thumbup: