newby
Active Member
- Joined
- Jun 11, 2016
- Messages
- 183
- Reaction score
- 43
I'm using this amazing trainer generator system made by @Evil Hero
But there is a problem...
If player get kicked, after 15 min or just logout there, the player still on that position and trainer room still existing
There is a way to if player logout there, send player to temple
And destroy the room?
MoveEvent - Infinity training room [0.3.6 & 0.4~]
What is it? It's a movement script that creates a own training room for player, in random void position you will select from your map cordinates. When player don't want to train anymore, he go to teleport in training room and he will be teleported, also training room will dissapear, because we...
otland.net
But there is a problem...
If player get kicked, after 15 min or just logout there, the player still on that position and trainer room still existing
There is a way to if player logout there, send player to temple
Code:
doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)))
doSendMagicEffect(getPlayerPosition(cid), 10)
And destroy the room?