Nitro-REALESED
#7

Код:
if(PRESSED(KEY_FIRE))
{
	if(IsPlayerInAnyVehicle(playerid))
	{
		AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
	}
}
else if(RELEASED(KEY_FIRE))
{
	if(IsPlayerInAnyVehicle(playerid))
	{
		RemoveVehicleComponent(0,1010);
	}
}
Is RemoveVehicleComponent is right?

I see in samp wiki and this RemoveVehicleComponent(1,1010); // 1 is vehicleid
Reply


Messages In This Thread
Nitro-REALESED - by IvancheBG - 25.07.2012, 10:39
Re: Nitro-REALESED - by Rudy_ - 25.07.2012, 10:48
Re: Nitro-REALESED - by IvancheBG - 25.07.2012, 10:49
Re: Nitro-REALESED - by Rudy_ - 25.07.2012, 10:52
Re: Nitro-REALESED - by IvancheBG - 25.07.2012, 11:02
Re: Nitro-REALESED - by IvancheBG - 26.07.2012, 08:24
Re: Nitro-REALESED - by McCurdy - 26.07.2012, 08:31
Re: Nitro-REALESED - by Alexis1999 - 26.07.2012, 08:32
Re: Nitro-REALESED - by IvancheBG - 26.07.2012, 09:17

Forum Jump:


Users browsing this thread: 1 Guest(s)