18.04.2015, 17:03
Quote:
What about the second report, why do I have to enable the sirens for the second time for it to detect as the vehicle sirens on?
|
So you can wait for the next server update or do something like this:
pawn Код:
stock ToggleELSPanelItem(vehicleid, itemid, togglestate)
...
if(togglestate == VEHICLE_PARAMS_ON) TextDrawSetString(vELSTD[vehicleid][4], "~y~ON");
else TextDrawSetString(vELSTD[vehicleid][4], "OFF");
...
ToggleELSPanelItem(vehicleid, ELS_PANEL_SIREN, newstate);