11.05.2015, 18:34
Debug the command and see where the code stops and print what values few variables hold.
By the way you don't get an unknown command, do you? That'd be because of run time error and there's currently an issue with "id" if exceeds the size of "Vehicle" array.
Another two reason why it wouldn't spawn a vehicle are:
- "CarID" is an invalid modelid and CreateVehicle returns INVALID_VEHICLE_ID.
- Limit was reached (returns the same).
By the way you don't get an unknown command, do you? That'd be because of run time error and there's currently an issue with "id" if exceeds the size of "Vehicle" array.
Another two reason why it wouldn't spawn a vehicle are:
- "CarID" is an invalid modelid and CreateVehicle returns INVALID_VEHICLE_ID.
- Limit was reached (returns the same).