11.12.2010, 17:24
Hi all,
I really dont know how to explain the problem i am having, but here it goes:
I have the following code:
- The vehicle that all that corresponds to works correctly, however the vehicle id becaomes -1. I have tried doing:
and it still gives me -1.
Has anyone else had this error before? + Does anyone know a fix?
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)
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));
Has anyone else had this error before? + Does anyone know a fix?