25.07.2012, 10:49
Код:
if(PRESSED(KEY_FIRE)) { if(IsPlayerInAnyVehicle(playerid)) { AddVehicleComponent(GetPlayerVehicleID(playerid), 1010); } } else if(RELEASED(KEY_FIRE)) { if(IsPlayerInAnyVehicle(playerid)) { RemoveVehicleComponent(0,1010); } }