SHARE
TWEET

hot mess

a guest Feb 20th, 2019 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Tunnel = module("vrp", "lib/Tunnel")
  2. local Proxy = module("vrp", "lib/Proxy")
  3. local Lang = module("vrp", "lib/Lang")
  4. local Cfg = module("vrp_leo", "cfg/leo")
  5.  
  6.    -- Loads Global Lang and local Lang
  7. local glang = Lang.new(module("vrp", "cfg/lang/"..cfg.lang) or {})
  8. local lang = Lang.new(module("vrp_leo", "cfg/lang/"..cfg.lang) or {})
  9.  
  10. vRP = Proxy.getInterface("vRP")
  11. vRPclient = Tunnel.getInterface("vRP","vRP_Leo")
  12.  
  13. --/leo to go onduty
  14.  
  15. function leo_job()
  16.     local users = vRP.getUsersByPermission({k})
  17.     local users = vRP.UsersisCop
  18.  
  19. LocalCop = false
  20. RegisterServerEvent ("chatMessage, function msg")
  21.     while true do
  22.         Citizen.Wait(1)
  23.         if vRP.UserIsCop
  24.     then
  25.         TriggerEvent("chatMessage"), "[Dispatch]", { 255, 0, 0 }, "10-4 Showing you 10-8 available."
  26.     end
  27. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top