Advertisement
Clotic

xyz

Jul 17th, 2020
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.76 KB | None | 0 0
  1. --Give xyzo cords made this so make it cleaner then original command u can use.
  2. local MSG_CO = "#xyz" --#command for triggering
  3.  
  4. local function RandomPenis(event, player, msg, Type, lang)
  5.     local msg = msg:lower()
  6.     if (msg == MSG_CO) then
  7.        
  8.         local x = player:GetX()
  9.         local y = player:GetY()
  10.         local z = player:GetZ()
  11.         local o = player:GetO()
  12.    
  13.  
  14.  
  15.         player:SendBroadcastMessage(("|cffffffff X |r " .. x .. ""))
  16.         player:SendBroadcastMessage(("|cffffffff Y |r " .. y .. ""))
  17.         player:SendBroadcastMessage(("|cffffffff Z |r " .. z .. ""))
  18.         player:SendBroadcastMessage(("|cffffffff O |r " .. o .. ""))
  19.  
  20.  
  21.         return false
  22.     end
  23.  
  24. end
  25.  
  26. RegisterPlayerEvent(18, RandomPenis)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement