Vehicle::createVehicle
p6 - last parameter does not mean vehicle handle is returned
maybe a quick view in disassembly will tell us what is actually does
p6 seems to check for something with the script in the disassembly
Syntax
mp.game.vehicle.createVehicle(modelHash, x, y, z, heading, networkHandle, vehiclehandle);
Required Arguments
- modelHash: Model hash or name
- x: float
- y: float
- z: float
- heading: float
- networkHandle: Boolean
- vehiclehandle: Boolean
Return value
- unknown (to be checked)
Example
// todo