Advertisement
Erictemponi

Anti AVIP

Mar 24th, 2016
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.61 KB | None | 0 0
  1. --[[
  2.  ________________________
  3. |------------------------|
  4. |--Made by: Erictemponi--|
  5. |------------------------|
  6. |________________________|
  7. --]]
  8.  
  9. -- ID da "Chave Vip"
  10. local item = 26045
  11.  
  12. -- ID da Área Vip
  13. local area = 3712
  14.  
  15. -- Lugar para onde o jogador NÃO Vip será teleportado
  16. local map = 571
  17. local x = 5804.149902
  18. local y = 624.770996
  19. local z = 647.767029
  20. local o = 1.640000
  21.  
  22. local function vipArea(event, player)
  23.     if (player:GetAreaId() == area) then
  24.         if (player:HasItem(item) == false) then
  25.         player:Teleport(map, x, y, z, o)
  26.     end
  27.     end
  28. end
  29.  
  30. RegisterPlayerEvent(27, vipArea)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement