CreateVehicle and addsiren
#1

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:
Код:
CreateVehicle( model, Spawn_x, Spawn_y, Spawn_z, Spawn_a, color1, color2, -1 );
And if I add one more value at the end of the function, compiler shows me a warning.

Line:
Код:
CreateVehicle( model, Spawn_x, Spawn_y, Spawn_z, Spawn_a, color1, color2, -1, 1 );
Warning:
Код:
warning 202: number of arguments does not match definition
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?
Reply


Messages In This Thread
CreateVehicle and addsiren - by Pauliuza - 01.04.2016, 11:25
Re: CreateVehicle and addsiren - by N0FeaR - 01.04.2016, 11:28
Re: CreateVehicle and addsiren - by Pauliuza - 01.04.2016, 11:49
Re: CreateVehicle and addsiren - by ScIrUsna - 01.04.2016, 11:56
Re: CreateVehicle and addsiren - by Pauliuza - 01.04.2016, 11:58

Forum Jump:


Users browsing this thread: 1 Guest(s)