Siren thingy
#1

Would this work?

Код:
public OnVehicleSirenStateChange(playerid, vehicleid, newstate)
{
	new siren = GetVehicleParamsSirenState(vehicleid);
	if(PLAYER_STATE_DRIVER && ServerVehicle[vehicleid][Type] == VEHICLE_TYPE_GLOBAL)
	{
	    if(siren == 1)
		{
			siren = 0;
			return 1;
		}
		else
	    {
			siren = 1;
			return 1;
	    }
	}
	return 1;
}
Reply


Messages In This Thread
Siren thingy - by yvoms - 04.01.2016, 18:14
Re: Siren thingy - by Vince - 04.01.2016, 18:51

Forum Jump:


Users browsing this thread: 1 Guest(s)