22.03.2016, 02:58
Hey guys
It's been a few months since I've attempted to script
So i've noticed the new siren feature, but it's not working for me??
I found this on the sa-mp wiki:
And in a police car that code will run, but in a normal car with a siren enabled it doesn't run, and there's no siren sound?
It's been a few months since I've attempted to script
So i've noticed the new siren feature, but it's not working for me??
pawn Код:
CreateVehicle(422, -228.6539, 984.3220, 19.5766, 358.2817, 111, 31, 1); // Red County - Sheriff Bobcat
pawn Код:
public OnVehicleSirenStateChange(playerid, vehicleid, newstate)
{
if(newstate) GameTextForPlayer(playerid, "~W~Siren ~G~on", 1000, 3);
else GameTextForPlayer(playerid, "~W~Siren ~r~off", 1000, 3);
return 1;
}