SA-MP Forums Archive
[Help] How do I add sirens in 0.3.7 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help] How do I add sirens in 0.3.7 (/showthread.php?tid=577727)



[Help] How do I add sirens in 0.3.7 - BornHuman - 13.06.2015

Quote:
Originally Posted by Kalcor
Посмотреть сообщение
SA-MP 0.3.7 is released! You can find it on the Download Page.

SA-MP 0.3.7 Updates
...
- The ability to add sirens for unmarked cop cars.
How do I use this new beautiful feature?


Re: [Help] How do I add sirens in 0.3.7 - Lajko1 - 13.06.2015

Hey, are you looking for this?
https://sampwiki.blast.hk/wiki/OnVehicleSirenStateChange


Re: [Help] How do I add sirens in 0.3.7 - hesambia - 13.06.2015

createvehicle has another parameter at end.
PHP код:
CreateVehicle(modelidFloat:xFloat:yFloat:zFloat:anglecolor1color2respawn_delayaddsiren=0
EDIT:
Ah, Missed xD
EDIT:
No, He Are Looking For How To Add Siren To Vehicle.


Re: [Help] How do I add sirens in 0.3.7 - Lajko1 - 13.06.2015

Well than as u said, CreateVehicle function was update
Link to this:
https://sampwiki.blast.hk/wiki/CreateVehicle


Re: [Help] How do I add sirens in 0.3.7 - BornHuman - 13.06.2015

pawn Код:
D:\SAMP Servers\Vortex Roleplay\script\gamemodes\RP.pwn(2074) : warning 202: number of arguments does not match definition
Code:
pawn Код:
Vehicles[i][GameID] = AddStaticVehicleEx(Vehicles[i][CarModel], Vehicles[i][CarPosX], Vehicles[i][CarPosY], Vehicles[i][CarPosZ], Vehicles[i][CarZAngle], Vehicles[i][CarColour1], Vehicles[i][CarColour2], 0, Vehicles[i][AddSiren]);
Yes, I checked. AddStaticVehicleEx still supports addsiren


Re: [Help] How do I add sirens in 0.3.7 - ArianGubetini - 24.03.2016

Hello.Im getting the warning 202:number of arguments does not match the definiton.
How should i define the new things for sirens and delay respawn.
Thanks


Re: [Help] How do I add sirens in 0.3.7 - czerwony03 - 24.03.2016

Have you got proper include version?


Re: [Help] How do I add sirens in 0.3.7 - ArianGubetini - 24.03.2016

The problem was at includes.Thanks for helping.
+1 rep