Vehicle wont spawn
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
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).
I get the following error.

Код:
sscanf warning: Strings without a length are deprecated, please add a destination size.
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: 1 Guest(s)