Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function PedGetAllPeds()
- local peds = {PedFindInAreaXYZ(0,0,0,999999)}
- table.remove(peds,1)
- return peds
- end
- function VehicleGetAllVehicles()
- local vehicles = VehicleFindInAreaXYZ(0,0,0,999999)
- if type(vehicles) == "table" then
- return vehicles
- else
- return {}
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment