11.06.2016, 17:51
Yes, with a small trick it is.
When a player's state has been changed, just fetch the player's vehicleid, model and X, Y, Z, A positions then destroy the vehicle and create the same model in the fetched position with siren enabled immediately. Put the player inside that newly created vehicle again. Except this, there is no other ways I believe. Since the parameter to enable this feature is inside the function that creates a vehicle.
But, I don't see a point for this, since the siren can be toggled on/off by pressing the horn key once it has been enabled (while creating the vehicle).
When a player's state has been changed, just fetch the player's vehicleid, model and X, Y, Z, A positions then destroy the vehicle and create the same model in the fetched position with siren enabled immediately. Put the player inside that newly created vehicle again. Except this, there is no other ways I believe. Since the parameter to enable this feature is inside the function that creates a vehicle.
But, I don't see a point for this, since the siren can be toggled on/off by pressing the horn key once it has been enabled (while creating the vehicle).