SA-MP Forums Archive
Vehicle ID 200 and up - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: Vehicle ID 200 and up (/showthread.php?tid=554235)



Vehicle ID 200 and up - Alvord - 02.01.2015

I'm not sure if this issue is within the script or the client already. I've made a command to spawn vehicles and once the vehicle ID reaches 200 and up, I could no longer control it.

Example:
Vehicle ID 200 is spawned and the engine is automatically off, I have a /engine command to turn it on but it returns as an invalid command.

Is there any way to fix this?


Re: Vehicle ID 200 and up - Lawbringer - 02.01.2015

It may be an issue with a #define MAX_VEHICLES in your gamemode since the command likely scans that the specified vehicle ID is within the constraints of 1 and MAX_VEHICLES (1 <= id <= MAX_VEHICLES).

Provide the code for the engine command.