[Help] Get entities from server

Hi, I have a question about entities from server.
The main idea is to check if a certain car is spawned by checking the license plate car by car. One of the ways that has occurred to me is by checking the license plates of all the cars, but of course, this can only be done per server because because of infinity it can only check the cars that the player has loaded and I would like to know if there are some way to get all the cars in an array from the server.
Thanks in advance.
This entities:

Use GetAllVehicles (GetAllVehicles - Natives @ Cfx.re Docs).

Thanks a lot <3

1 Like