Streaming::getAllModelHashes
Not available on SYNC MP yet
This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side JavaScript). Calling it does nothing or throws.
JavaScript
Required Arguments
- p1: Number
Syntax
mp.game.streaming.getAllModelHashes(p1);
Example
Client-Side
const vehicleList = mp.game.streaming.getAllModelHashes(5); //return a number array of all vehicle hashes