01.04.2016, 11:25
Hey,
I've a problem with CreateVehicle function.
I want to add new SAMP 0.3.7 feature (police sound siren) and I can't. I've spent like 5~ hours trying to include some includes, none helped.
Everything is working fine with this code:
And if I add one more value at the end of the function, compiler shows me a warning.
Line:
Warning:
I've checked an a_vehicles.inc, everything is up to date.
I don't really understand how is that even possible, maybe someone has some ideas?
I've a problem with CreateVehicle function.
I want to add new SAMP 0.3.7 feature (police sound siren) and I can't. I've spent like 5~ hours trying to include some includes, none helped.
Everything is working fine with this code:
Код:
CreateVehicle( model, Spawn_x, Spawn_y, Spawn_z, Spawn_a, color1, color2, -1 );
Line:
Код:
CreateVehicle( model, Spawn_x, Spawn_y, Spawn_z, Spawn_a, color1, color2, -1, 1 );
Код:
warning 202: number of arguments does not match definition
I don't really understand how is that even possible, maybe someone has some ideas?