Vehicle ID is -1?
#1

Hi all,
I really dont know how to explain the problem i am having, but here it goes:

I have the following code:
pawn Код:
CreateVehicle(dini_Int(file, "Model"), dini_Float(file, "x"), dini_Float(file, "y"), dini_Float(file, "z"), dini_Float(file, "rot"), dini_Int(file, "Colour1"), dini_Int(file, "Colour2"), -1)
- The vehicle that all that corresponds to works correctly, however the vehicle id becaomes -1. I have tried doing:

pawn Код:
printf("%i", CreateVehicle(dini_Int(file, "Model"), dini_Float(file, "x"), dini_Float(file, "y"), dini_Float(file, "z"), dini_Float(file, "rot"), dini_Int(file, "Colour1"), dini_Int(file, "Colour2"), -1));
and it still gives me -1.

Has anyone else had this error before? + Does anyone know a fix?
Reply


Messages In This Thread
Vehicle ID is -1? - by Ash. - 11.12.2010, 17:24
Re: Vehicle ID is -1? - by [MF]FACE - 11.12.2010, 17:27
Re: Vehicle ID is -1? - by Ash. - 11.12.2010, 17:37
Re: Vehicle ID is -1? - by [MF]FACE - 11.12.2010, 17:40
Re: Vehicle ID is -1? - by Ash. - 11.12.2010, 17:44
Re: Vehicle ID is -1? - by Ash. - 11.12.2010, 18:31

Forum Jump:


Users browsing this thread: 1 Guest(s)