Vehicle wont spawn
#2

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).
Reply


Messages In This Thread
Vehicle wont spawn - by Zloto - 11.05.2015, 17:59
Re: Vehicle wont spawn - by Konstantinos - 11.05.2015, 18:34
Re: Vehicle wont spawn - by Zloto - 11.05.2015, 18:42
Re: Vehicle wont spawn - by Konstantinos - 11.05.2015, 18:45
Re: Vehicle wont spawn - by Zloto - 11.05.2015, 18:50
Re: Vehicle wont spawn - by Konstantinos - 11.05.2015, 19:03
Re: Vehicle wont spawn - by Zloto - 11.05.2015, 19:07

Forum Jump:


Users browsing this thread: 3 Guest(s)