Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local command = "home"
- function home(event, player, message, type, language)
- if(player:IsInCombat() == true) then
- player:SendBroadcastMessage("Tienes que estar fuera de combate.")
- return false;
- else
- if(message == command) then
- player:Teleport(571, 1230.544434, -4992.754395, 174.054474, 2.078339) --- Coord Mall (mapId, X, Y, Z, O)
- return false;
- end
- end
- end
- RegisterPlayerEvent(42, home)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement