public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){ if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { if(newkeys & KEY_FIRE) { new vehicleid = GetPlayerVehicleID(playerid); AddVehicleComponent(vehicleid, 1010); } } return 1;}