Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Help me getting this to work please! <3

a guest Mar 31st, 2020 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Key = 38
  2.  
  3. local coords = vector3(244.41, -2726.42, 17.88)
  4. local size = 2.0
  5. local height = 2.0
  6.  
  7. Citizen.CreateThread(function()
  8.     while true do
  9.         Citizen.Wait(0)
  10.         DrawMarker(1, coords.x, coords.y, coords.z, 0, 0, 0, 0, 0, 0, size, size, height, 0, 155, 255, 155, 0, 0, 2, 0, 0, 0, 0)
  11.         if GetDistanceBetweenCoords(GetEntityCoords(GetPlayerPed(-1)), coords.x, coords.y, coords.z, true) < size then
  12.             CurrentActionMsg  = ('press_access')
  13.             if (IsControlJustPressed(1, Key)) then
  14.                 TriggerClientEvent("TrafficAlert")
  15.             end
  16.         end
  17.     end
  18. 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