[Help] How do I add sirens in 0.3.7
#1

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?
Reply
#2

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

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.
Reply
#4

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

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
Reply
#6

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
Reply
#7

Have you got proper include version?
Reply
#8

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


Forum Jump:


Users browsing this thread: 1 Guest(s)