09.08.2009, 03:27
For example,I am trying to add nos to vehicles (trying to learn on my own, not use someones pre-made filter scripts thanks anyways though), so I am trying to do this:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if vehicleid=(blah blah all the ids that can't have nos);
do nothing;
else AddVehicleComponent(vehicle, 1010);
}
So is there a way to tell the script not to do anything in that case? Thanks.
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if vehicleid=(blah blah all the ids that can't have nos);
do nothing;
else AddVehicleComponent(vehicle, 1010);
}
So is there a way to tell the script not to do anything in that case? Thanks.