Advertisement
jedagutavito

Ir a Mall por Comando

Mar 28th, 2020
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1. local command = "home"
  2.  
  3.  
  4. function home(event, player, message, type, language)
  5.     if(player:IsInCombat() == true) then
  6.     player:SendBroadcastMessage("Tienes que estar fuera de combate.")
  7.     return false;
  8.     else
  9.     if(message == command) then
  10.         player:Teleport(571, 1230.544434, -4992.754395, 174.054474, 2.078339) --- Coord Mall (mapId, X, Y, Z, O)
  11.         return false;
  12.         end
  13.     end
  14. end
  15. RegisterPlayerEvent(42, home)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement