09.08.2009, 04:00
Or just reverse the "if", and forget about using "else".
Example:
Example:
Код:
public OnPlayerStateChange(playerid, newstate, oldstate) { if(vehicleid != (Car ID's that can't have NOS)) AddVehicleComponent(vehicleid, 1010); }